AzureCommunicationUI/sdk/AzureCommunicationUIChat/Sources/Redux/State/AppLifeCycleState.swift (11 lines of code) (raw):

// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // import Foundation enum AppStatus { case foreground case background } struct LifeCycleState { let currentStatus: AppStatus init(currentStatus: AppStatus = .foreground) { self.currentStatus = currentStatus } }