| 12345678910111213141516171819202122232425 |
- /************************************************************
- * * Hyphenate CONFIDENTIAL
- * __________________
- * Copyright (C) 2016 Hyphenate Inc. All rights reserved.
- *
- * NOTICE: All information contained herein is, and remains
- * the property of Hyphenate Inc.
- * Dissemination of this information or reproduction of this material
- * is strictly forbidden unless prior written permission is obtained
- * from Hyphenate Inc.
- */
- #import "EMCDDeviceManagerBase.h"
- @interface EMCDDeviceManager (ProximitySensor)
- #pragma mark - proximity sensor
- @property (nonatomic, readonly) BOOL isSupportProximitySensor;
- @property (nonatomic, readonly) BOOL isCloseToUser;
- @property (nonatomic, readonly) BOOL isProximitySensorEnabled;
- - (BOOL)enableProximitySensor;
- - (BOOL)disableProximitySensor;
- - (void)sensorStateChanged:(NSNotification *)notification;
- @end
|