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
Documentation
OnEncodedSyncPData

OnEncodedSyncPData Class Reference

Constructors

Instance Methods

Constructors

new OnEncodedSyncPData(parameters)

Initalizes an instance of OnEncodedSyncPData.

Instance Methods

onEncodedSyncPData.getData() ⇒ Array.<String>

Get the Data

Kind: Instance method of OnEncodedSyncPData
Returns: Array.<String> - the KEY_DATA value

onEncodedSyncPData.getTimeout() ⇒ Number

Get the Timeout

Kind: Instance method of OnEncodedSyncPData
Returns: Number - the KEY_TIMEOUT value

onEncodedSyncPData.getURL() ⇒ String

Get the URL

Kind: Instance method of OnEncodedSyncPData
Returns: String - the KEY_URL value

onEncodedSyncPData.setData(data) ⇒ OnEncodedSyncPData

Set the Data

Kind: Instance method of OnEncodedSyncPData
Returns: OnEncodedSyncPData - The class instance for method chaining.

ParamTypeDescription
data Array.<String> Contains base64 encoded string of SyncP packets. - The desired Data. {'array_min_size': 1, 'array_max_size': 100, 'string_min_length': 1, 'string_max_length': 1000000}

onEncodedSyncPData.setTimeout(timeout) ⇒ OnEncodedSyncPData

Set the Timeout

Kind: Instance method of OnEncodedSyncPData
Returns: OnEncodedSyncPData - The class instance for method chaining.

ParamTypeDescription
timeout Number If blank, the SyncP data shall be forwarded to the app. If not blank, the SyncP data shall be forwarded with the provided timeout in seconds. - The desired Timeout. {'num_min_value': 0, 'num_max_value': 2000000000}

onEncodedSyncPData.setURL(url) ⇒ OnEncodedSyncPData

Set the URL

Kind: Instance method of OnEncodedSyncPData
Returns: OnEncodedSyncPData - The class instance for method chaining.

ParamTypeDescription
url String If blank, the SyncP data shall be forwarded to the app. If not blank, the SyncP data shall be forwarded to the provided URL. - The desired URL. {'string_min_length': 1, 'string_max_length': 1000}
View on GitHub.com
Previous Section Next Section