summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLAppInterfaceUnregisteredReason.h
blob: 79b3f1cf46716bde679dd316fa49c08f42d903a7 (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;


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

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

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

/**
 * 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;

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

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

/**
 *  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;

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

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

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