mirror of
https://github.com/danog/Telegram.git
synced 2024-12-11 17:09:46 +01:00
15 lines
415 B
Objective-C
15 lines
415 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface PGCameraDeviceAngleSampler : NSObject
|
|
|
|
@property (nonatomic, copy) void(^deviceOrientationChanged)(UIDeviceOrientation orientation);
|
|
|
|
@property (nonatomic, readonly) UIDeviceOrientation deviceOrientation;
|
|
@property (nonatomic, readonly) bool isMeasuring;
|
|
@property (nonatomic, readonly) CGFloat currentDeviceAngle;
|
|
|
|
- (void)startMeasuring;
|
|
- (void)stopMeasuring;
|
|
|
|
@end
|