Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
OnAppInterfaceUnregistered

Class OnAppInterfaceUnregistered

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct
         com.smartdevicelink.proxy.RPCMessage
             com.smartdevicelink.proxy.RPCNotification

Package
com.smartdevicelink.proxy.rpc

Overview

Notifies an application that its interface registration has been terminated. This means that all SDL resources associated with the application are discarded, including the Command Menu, Choice Sets, button subscriptions, etc.

For more information about SDL resources related to an interface registration, see RegisterAppInterface.

HMI Status Requirements:
    HMILevel:
    • Any
    AudioStreamingState:
    • Any
    SystemContext:
    • Any

Parameter List:
Name Type Description SmartDeviceLink Ver Available
reason AppInterfaceUnregisteredReason The reason the application's interface registration was terminated SmartDeviceLink 1.0

Fields

KEY_REASON

public static final java.lang.String KEY_REASON
Constant Value
"reason"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCMessage KEY_REQUEST, KEY_RESPONSE, KEY_NOTIFICATION, KEY_FUNCTION_NAME, KEY_PARAMETERS, KEY_CORRELATION_ID, messageType, parameters, function
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

OnAppInterfaceUnregistered()

Constructs a newly allocated OnAppInterfaceUnregistered object

public OnAppInterfaceUnregistered()

OnAppInterfaceUnregistered( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a newly allocated OnAppInterfaceUnregistered object indicated by the Hashtable parameter

public OnAppInterfaceUnregistered(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

OnAppInterfaceUnregistered( AppInterfaceUnregisteredReason reason )

Constructs a newly allocated OnAppInterfaceUnregistered object

public OnAppInterfaceUnregistered(AppInterfaceUnregisteredReason reason)

Constructor Parameters

reason
The reason application's interface registration was terminated

Methods

getReason()

Get the reason the registration was terminated

public com.smartdevicelink.proxy.rpc.enums.AppInterfaceUnregisteredReason getReason()

setReason( AppInterfaceUnregisteredReason reason )

Set the reason application's interface was terminated

public com.smartdevicelink.proxy.rpc.OnAppInterfaceUnregistered setReason(AppInterfaceUnregisteredReason reason)

Method Parameters

reason
The reason application's interface registration was terminated

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCMessage getFunctionID, getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section