mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
17 lines
346 B
Objective-C
17 lines
346 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface DeviceProximityManager : NSObject
|
|
|
|
@property (nonatomic, copy) void(^ _Nullable proximityChanged)(bool);
|
|
|
|
+ (DeviceProximityManager * _Nonnull)shared;
|
|
|
|
- (bool)currentValue;
|
|
|
|
- (void)setGloballyEnabled:(bool)value;
|
|
|
|
- (NSInteger)add:(void (^ _Nonnull)(bool))f;
|
|
- (void)remove:(NSInteger)index;
|
|
|
|
@end
|