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
AppServicesCapabilities

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)

Constructor 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 com.smartdevicelink.proxy.rpc.AppServicesCapabilities setAppServices(java.util.List<com.smartdevicelink.proxy.rpc.AppServiceCapability> appServices)

Method 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)

Method Parameters

updatedAppServiceCapabilities
the List that have been updated

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