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
JavaSE Documentation
AppServiceCapability

Class AppServiceCapability

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Fields

KEY_UPDATE_REASON

public static final java.lang.String KEY_UPDATE_REASON
Constant Value
"updateReason"

KEY_UPDATED_APP_SERVICE_RECORD

public static final java.lang.String KEY_UPDATED_APP_SERVICE_RECORD
Constant Value
"updatedAppServiceRecord"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

AppServiceCapability()

public AppServiceCapability()

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

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

Constructor Parameters

hash
of parameters

AppServiceCapability( AppServiceRecord updatedAppServiceRecord )

public AppServiceCapability(AppServiceRecord updatedAppServiceRecord)

Constructor Parameters

updatedAppServiceRecord
-

Methods

setUpdateReason( ServiceUpdateReason updateReason )

Only included in OnSystemCapabilityUpdated. Update reason for this service record.

public com.smartdevicelink.proxy.rpc.AppServiceCapability setUpdateReason(ServiceUpdateReason updateReason)

Method Parameters

updateReason
-

getUpdateReason()

Only included in OnSystemCapabilityUpdated. Update reason for this service record.

public com.smartdevicelink.proxy.rpc.enums.ServiceUpdateReason getUpdateReason()

setUpdatedAppServiceRecord( AppServiceRecord updatedAppServiceRecord )

Only included in OnSystemCapabilityUpdated. Update reason for this service record.

public com.smartdevicelink.proxy.rpc.AppServiceCapability setUpdatedAppServiceRecord(AppServiceRecord updatedAppServiceRecord)

Method Parameters

updatedAppServiceRecord
-

getUpdatedAppServiceRecord()

Only included in OnSystemCapabilityUpdated. Update reason for this service record.

public com.smartdevicelink.proxy.rpc.AppServiceRecord getUpdatedAppServiceRecord()

matchesAppService( AppServiceCapability capability )

Helper method to compare an AppServiceCapability to this instance.

public boolean matchesAppService(AppServiceCapability capability)

Method Parameters

capability
the AppServiceCapability to compare to this one

Inherited Methods

From Class Methods
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