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
JavaEE Documentation
GetSystemCapability

Class GetSystemCapability

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Used to request the corresponding capability object for a given capability.

Fields

KEY_SYSTEM_CAPABILITY_TYPE

public static final java.lang.String KEY_SYSTEM_CAPABILITY_TYPE
Constant Value
"systemCapabilityType"

KEY_SUBSCRIBE

public static final java.lang.String KEY_SUBSCRIBE
Constant Value
"subscribe"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCRequest onResponseListener
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

GetSystemCapability()

Constructs a new GetSystemCapability object

public GetSystemCapability()

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

Constructs a new GetSystemCapability object indicated by the Hashtable parameter

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

Constructor Parameters

hash
The Hashtable to use

GetSystemCapability( SystemCapabilityType systemCapabilityType )

Constructs a new GetSystemCapability object

public GetSystemCapability(SystemCapabilityType systemCapabilityType)

Constructor Parameters

systemCapabilityType
SystemCapabilityType being requested

Methods

getSystemCapabilityType()

Used to get the SystemCapabilityType being requested

public com.smartdevicelink.proxy.rpc.enums.SystemCapabilityType getSystemCapabilityType()

setSystemCapabilityType( SystemCapabilityType value )

Used to set the SystemCapabilityType being requested

public com.smartdevicelink.proxy.rpc.GetSystemCapability setSystemCapabilityType(SystemCapabilityType value)

Method Parameters

value
SystemCapabilityType being requested

getSubscribe()

Flag to subscribe to updates of the supplied service capability type. If true, the requester will be subscribed. If false, the requester will not be subscribed and be removed as a subscriber if it was previously subscribed.

public java.lang.Boolean getSubscribe()

setSubscribe( Boolean subscribe )

Flag to subscribe to updates of the supplied service capability type. If true, the requester will be subscribed. If false, the requester will not be subscribed and be removed as a subscriber if it was previously subscribed.

public com.smartdevicelink.proxy.rpc.GetSystemCapability setSubscribe(Boolean subscribe)

Method Parameters

subscribe
to changes in the SystemCapabilityType

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCRequest getCorrelationID, setCorrelationID, setOnRPCResponseListener, getOnRPCResponseListener
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