SDLAppInterfaceUnregisteredReason Class Reference

Section Contents

Overview

Indicates reason why app interface was unregistered. The application is being disconnected by SDL.

@since SDL 1.0

+valueOf:

@abstract Convert String to SDLAppInterfaceUnregisteredReason

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)valueOf:(NSString *)value;

Swift

class func value(of value: String!) -> SDLAppInterfaceUnregisteredReason!

Parameters

value

String value to retrieve the object for

Return Value

SDLAppInterfaceUnregisteredReason

+values

@abstract Store the enumeration of all possible SDLAppInterfaceUnregisteredReason

Objective-C

+ (NSArray *)values;

Swift

class func values() -> [Any]!

Return Value

an array that stores all possible SDLAppInterfaceUnregisteredReason

+IGNITION_OFF

@abstract Vehicle ignition turned off.

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)IGNITION_OFF;

Swift

class func ignition_OFF() -> SDLAppInterfaceUnregisteredReason!

Return Value

SDLAppInterfaceUnregisteredReason with value IGNITION_OFF

+BLUETOOTH_OFF

@abstract Bluetooth was turned off, causing termination of a necessary Bluetooth connection.

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)BLUETOOTH_OFF;

Swift

class func bluetooth_OFF() -> SDLAppInterfaceUnregisteredReason!

Return Value

SDLAppInterfaceUnregisteredReason with value BLUETOOTH_OFF

+USB_DISCONNECTED

@abstract USB was disconnected, causing termination of a necessary iAP connection.

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)USB_DISCONNECTED;

Swift

class func usb_DISCONNECTED() -> SDLAppInterfaceUnregisteredReason!

Return Value

SDLAppInterfaceUnregisteredReason with value USB_DISCONNECTED

+REQUEST_WHILE_IN_NONE_HMI_LEVEL

@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.

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)REQUEST_WHILE_IN_NONE_HMI_LEVEL;

Swift

class func request_WHILE_IN_NONE_HMI_LEVEL() -> SDLAppInterfaceUnregisteredReason!

Return Value

SDLAppInterfaceUnregisteredReason with value REQUEST_WHILE_IN_NONE_HMI_LEVEL

+TOO_MANY_REQUESTS

@abstract Either too many – or too many per unit of time – requests were made by the application.

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)TOO_MANY_REQUESTS;

Swift

class func too_MANY_REQUESTS() -> SDLAppInterfaceUnregisteredReason!

Return Value

SDLAppInterfaceUnregisteredReason with value TOO_MANY_REQUESTS

+DRIVER_DISTRACTION_VIOLATION

@abstract The application has issued requests which cause driver distraction rules to be violated.

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)DRIVER_DISTRACTION_VIOLATION;

Swift

class func driver_DISTRACTION_VIOLATION() -> SDLAppInterfaceUnregisteredReason!

Return Value

SDLAppInterfaceUnregisteredReason with value DRIVER_DISTRACTION_VIOLATION

+LANGUAGE_CHANGE

@abstract The user performed a language change on the SDL platform, causing the application to need to be reregistered for the new language.

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)LANGUAGE_CHANGE;

Swift

class func language_CHANGE() -> SDLAppInterfaceUnregisteredReason!

Return Value

SDLAppInterfaceUnregisteredReason with value LANGUAGE_CHANGE

+MASTER_RESET

@abstract The user performed a MASTER RESET on the SDL platform, causing removal of a necessary Bluetooth pairing.

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)MASTER_RESET;

Swift

class func master_RESET() -> SDLAppInterfaceUnregisteredReason!

Return Value

SDLAppInterfaceUnregisteredReason with value MASTER_RESET

+FACTORY_DEFAULTS

@abstract The user restored settings to FACTORY DEFAULTS on the SDL platform.

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)FACTORY_DEFAULTS;

Swift

class func factory_DEFAULTS() -> SDLAppInterfaceUnregisteredReason!

Return Value

SDLAppInterfaceUnregisteredReason with value FACTORY_DEFAULTS

+APP_UNAUTHORIZED

@abstract The app is not being authorized to be connected to SDL.

@since SDL 2.0

Objective-C

+ (SDLAppInterfaceUnregisteredReason *)APP_UNAUTHORIZED;

Swift

class func app_UNAUTHORIZED() -> SDLAppInterfaceUnregisteredReason!

Return Value

SDLAppInterfaceUnregisteredReason with value APP_UNAUTHORIZED