summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLAppInterfaceUnregisteredReason.h
blob: 0cdf0f192cde790ed8cf3501444a1b02d5f90ce5 (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//  SDLAppInterfaceUnregisteredReason.h
//


#import "SDLEnum.h"

/**
 * Indicates reason why app interface was unregistered. The application is being disconnected by SDL.
 *
 * @since SDL 1.0
 */
typedef SDLEnum SDLAppInterfaceUnregisteredReason SDL_SWIFT_ENUM;


/**
 * @abstract Vehicle ignition turned off.
 */
extern SDLAppInterfaceUnregisteredReason const SDLAppInterfaceUnregisteredReasonIgnitionOff;

/**
 * @abstract Bluetooth was turned off, causing termination of a necessary Bluetooth connection.
 */
extern SDLAppInterfaceUnregisteredReason const SDLAppInterfaceUnregisteredReasonBluetoothOff;

/**
 * @abstract USB was disconnected, causing termination of a necessary iAP connection.
 */
extern SDLAppInterfaceUnregisteredReason const SDLAppInterfaceUnregisteredReasonUSBDisconnected;

/**
 * @abstract Application attempted SmartDeviceLink RPC request while HMILevel = NONE. App must have HMILevel other than NONE to issue RPC requests or get notifications or RPC responses.
 */
extern SDLAppInterfaceUnregisteredReason const SDLAppInterfaceUnregisteredReasonRequestWhileInNoneHMILevel;

/**
 * @abstract Either too many -- or too many per unit of time -- requests were made by the application.
 */
extern SDLAppInterfaceUnregisteredReason const SDLAppInterfaceUnregisteredReasonTooManyRequests;

/**
 * @abstract The application has issued requests which cause driver distraction rules to be violated.
 */
extern SDLAppInterfaceUnregisteredReason const SDLAppInterfaceUnregisteredReasonDriverDistractionViolation;

/**
 *  @abstract The user performed a language change on the SDL platform, causing the application to need to be reregistered for the new language.
 */
extern SDLAppInterfaceUnregisteredReason const SDLAppInterfaceUnregisteredReasonLanguageChange;

/**
 * @abstract The user performed a MASTER RESET on the SDL platform, causing removal of a necessary Bluetooth pairing.
 */
extern SDLAppInterfaceUnregisteredReason const SDLAppInterfaceUnregisteredReasonMasterReset;

/**
 * @abstract The user restored settings to FACTORY DEFAULTS on the SDL platform.
 */
extern SDLAppInterfaceUnregisteredReason const SDLAppInterfaceUnregisteredReasonFactoryDefaults;

/**
 * @abstract The app is not being authorized to be connected to SDL.
 *
 * @since SDL 2.0
 */
extern SDLAppInterfaceUnregisteredReason const SDLAppInterfaceUnregisteredReasonAppUnauthorized;