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

Class AppServiceRecord

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

This manifest contains all the information necessary for the service to be published, activated, and consumers able to interact with it

Fields

KEY_SERVICE_ID

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

KEY_SERVICE_MANIFEST

public static final java.lang.String KEY_SERVICE_MANIFEST
Constant Value
"serviceManifest"

KEY_SERVICE_PUBLISHED

public static final java.lang.String KEY_SERVICE_PUBLISHED
Constant Value
"servicePublished"

KEY_SERVICE_ACTIVE

public static final java.lang.String KEY_SERVICE_ACTIVE
Constant Value
"serviceActive"

Inherited Fields

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

Constructors

AppServiceRecord()

public AppServiceRecord()

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

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

Parameters

hash

AppServiceRecord( String serviceID, AppServiceManifest serviceManifest, Boolean servicePublished, Boolean serviceActive )

public AppServiceRecord(String serviceID,AppServiceManifest serviceManifest,Boolean servicePublished,Boolean serviceActive)

Parameters

serviceID
serviceManifest
servicePublished
serviceActive

Methods

setServiceID( String serviceID )

ID of this service

public void setServiceID(String serviceID)

Parameters

serviceID
- the service ID

getServiceID()

ID of this service

public java.lang.String getServiceID()

setServiceManifest( AppServiceManifest serviceManifest )

the App Service Manifest

public void setServiceManifest(AppServiceManifest serviceManifest)

Parameters

serviceManifest
- the App Service Manifest

getServiceManifest()

the App Service Manifest

public com.smartdevicelink.proxy.rpc.AppServiceManifest getServiceManifest()

setServicePublished( Boolean servicePublished )

If true, the service is published and available. If false, the service has likely just been unpublished, and should be considered unavailable.

public void setServicePublished(Boolean servicePublished)

Parameters

servicePublished
- boolean

getServicePublished()

If true, the service is published and available. If false, the service has likely just been unpublished, and should be considered unavailable.

public java.lang.Boolean getServicePublished()

setServiceActive( Boolean serviceActive )

If true, the service is the active primary service of the supplied service type. It will receive all potential RPCs that are passed through to that service type. If false, it is not the primary service of the supplied type. See servicePublished for its availability.

public void setServiceActive(Boolean serviceActive)

Parameters

serviceActive
- boolean

getServiceActive()

If true, the service is the active primary service of the supplied service type. It will receive all potential RPCs that are passed through to that service type. If false, it is not the primary service of the supplied type. See servicePublished for its availability.

public java.lang.Boolean getServiceActive()

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