Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
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.

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 - The desired Timeout. shall be forwarded with the provided timeout in seconds.

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 - The desired URL. be forwarded to the provided URL.
View on GitHub.com
Previous Section Next Section