1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 17:09:46 +01:00
Telegram/thirdparty/PGPhotoEditor/PGCameraDeviceAngleSampler.h
2015-10-01 19:19:52 +03:00

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