mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00

git-subtree-dir: submodules/TelegramUI git-subtree-mainline: 5c1613d1048026b9e00a6ce753775cef87eb53fa git-subtree-split: fa3ac0b61a27c8dd3296518a15891a6f9750cbf2
15 lines
275 B
Objective-C
15 lines
275 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface DeviceProximityManager : NSObject
|
|
|
|
+ (DeviceProximityManager * _Nonnull)shared;
|
|
|
|
- (bool)currentValue;
|
|
|
|
- (void)setGloballyEnabled:(bool)value;
|
|
|
|
- (NSInteger)add:(void (^ _Nonnull)(bool))f;
|
|
- (void)remove:(NSInteger)index;
|
|
|
|
@end
|