forked from urbanairship/ios-gimbal-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUAGimbalAdapter.h
42 lines (32 loc) · 902 Bytes
/
UAGimbalAdapter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* Copyright 2016 Urban Airship and Contributors */
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* GimbalAdapter interfaces Gimbal SDK functionality with Urban Airship services.
*/
@interface UAGimbalAdapter : NSObject
/**
* Returns true if the adapter is started, otherwise false.
*/
@property (nonatomic, assign, readonly, getter=isStarted) BOOL started;
/**
* Enables alert when Bluetooth is powered off. Defaults to NO.
*/
@property (nonatomic, assign, getter=isBluetoothPoweredOffAlertEnabled) BOOL bluetoothPoweredOffAlertEnabled;
/**
* Returns the shared `GimbalAdapter` instance.
*
* @return The shared `GimbalAdapter` instance.
*/
+ (instancetype)shared;
/**
* Starts the adapter.
* @param gimbalAPIKey The Gimbal API key.
*/
- (void)startWithGimbalAPIKey:(NSString *)gimbalAPIKey;
/**
* Stops the adapter.
*/
- (void)stop;
@end
NS_ASSUME_NONNULL_END