blob: 0c032953be325e4a9354ff3d487f8e32c1e5bd20 [file] [log] [blame]
tkchin5ed5ed92016-03-08 10:51:54 -08001/*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
tkchin5ed5ed92016-03-08 10:51:54 -080011#if defined(WEBRTC_IOS)
12
Anders Carlssonfc309752017-06-12 14:16:20 +020013#import <Foundation/Foundation.h>
tkchin5ed5ed92016-03-08 10:51:54 -080014
Anders Carlsson358f2e02018-06-04 10:24:37 +020015NS_EXTENSION_UNAVAILABLE_IOS("Application status not available in app extensions.")
Anders Carlssonfc309752017-06-12 14:16:20 +020016@interface RTCUIApplicationStatusObserver : NSObject
tkchin5ed5ed92016-03-08 10:51:54 -080017
Anders Carlssonfc309752017-06-12 14:16:20 +020018+ (instancetype)sharedInstance;
andersc9a85f072017-09-13 07:31:46 -070019+ (void)prepareForUse;
Anders Carlssonfc309752017-06-12 14:16:20 +020020
21- (BOOL)isApplicationActive;
22
23@end
24
25#endif // WEBRTC_IOS