blob: 44c0b99a6e1caa8a910af40c3061942ed918188a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import <CoreMotion/CoreMotion.h>
@interface iOSDeviceOrientationP : NSObject <CLLocationManagerDelegate>
@property (readonly) BOOL isActive;
+ (iOSDeviceOrientationP*)instance;
- (void)setHandler:(iOSDeviceOrientation*) handler;
- (void)start;
- (void)stop;
@end
|