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
PerformAppServiceInteraction

Class PerformAppServiceInteraction

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Fields

KEY_SERVICE_URI

public static final java.lang.String KEY_SERVICE_URI
Constant Value
"serviceUri"

KEY_SERVICE_ID

public static final java.lang.String KEY_SERVICE_ID
Constant Value
"serviceID"

KEY_ORIGIN_APP

public static final java.lang.String KEY_ORIGIN_APP
Constant Value
"originApp"

KEY_REQUEST_SERVICE_ACTIVE

public static final java.lang.String KEY_REQUEST_SERVICE_ACTIVE
Constant Value
"requestServiceActive"

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

PerformAppServiceInteraction()

public PerformAppServiceInteraction()

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

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

Constructor Parameters

hash

PerformAppServiceInteraction( String serviceUri, String appServiceId, String originApp )

public PerformAppServiceInteraction(String serviceUri,String appServiceId,String originApp)

Constructor Parameters

serviceUri
appServiceId
originApp

Methods

setServiceUri( String serviceUri )

Fully qualified URI based on a predetermined scheme provided by the app service. SDL makes no guarantee that this URI is correct.

public com.smartdevicelink.proxy.rpc.PerformAppServiceInteraction setServiceUri(String serviceUri)

Method Parameters

serviceUri
-

getServiceUri()

Fully qualified URI based on a predetermined scheme provided by the app service. SDL makes no guarantee that this URI is correct.

public java.lang.String getServiceUri()

setServiceID( String appServiceId )

The service ID that the app consumer wishes to send this URI.

public com.smartdevicelink.proxy.rpc.PerformAppServiceInteraction setServiceID(String appServiceId)

Method Parameters

appServiceId
-

getServiceID()

The service ID that the app consumer wishes to send this URI.

public java.lang.String getServiceID()

setOriginApp( String originApp )

This string is the appID of the app requesting the app service provider take the specific action.

public com.smartdevicelink.proxy.rpc.PerformAppServiceInteraction setOriginApp(String originApp)

Method Parameters

originApp
-

getOriginApp()

This string is the appID of the app requesting the app service provider take the specific action.

public java.lang.String getOriginApp()

setRequestServiceActive( Boolean requestServiceActive )

This flag signals the requesting consumer would like this service to become the active primary service of the destination's type.

public com.smartdevicelink.proxy.rpc.PerformAppServiceInteraction setRequestServiceActive(Boolean requestServiceActive)

Method Parameters

requestServiceActive
-

getRequestServiceActive()

This string is the appID of the app requesting the app service provider take the specific action.

public java.lang.Boolean getRequestServiceActive()

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