Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class AppServicesCapabilities

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Capabilities of app services including what service types are supported and the current state of services.

Fields

KEY_APP_SERVICES

public static final java.lang.String KEY_APP_SERVICES
Constant Value
"appServices"

Inherited Fields

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

Constructors

AppServicesCapabilities()

Capabilities of app services including what service types are supported and the current state of services.

public AppServicesCapabilities()

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

Capabilities of app services including what service types are supported and the current state of services.

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

Parameters

hash
of parameters

Methods

setAppServices( java.util.List<com.smartdevicelink.proxy.rpc.AppServiceCapability> appServices )

An array of currently available services. If this is an update to the capability the affected services will include an update reason in that item

public void setAppServices(java.util.List<com.smartdevicelink.proxy.rpc.AppServiceCapability> appServices)

Parameters

appServices
-

getAppServices()

An array of currently available services. If this is an update to the capability the affected services will include an update reason in that item

public java.util.List getAppServices()

updateAppServices( java.util.List<com.smartdevicelink.proxy.rpc.AppServiceCapability> updatedAppServiceCapabilities )

This method will update the current List with the updated items. If the items don't exist in the original ist they will be added. If the original list is null or empty, the new list will simply be set as the list.

public boolean updateAppServices(java.util.List<com.smartdevicelink.proxy.rpc.AppServiceCapability> updatedAppServiceCapabilities)

Parameters

updatedAppServiceCapabilities
the List that have been updated

Inherited Methods

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