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
JavaScript Suite Documentation
AlertResponse

AlertResponse Class Reference

Constructors

Instance Methods

Constructors

new AlertResponse(parameters)

Initializes an instance of AlertResponse.

Instance Methods

alertResponse.getTryAgainTime() ⇒ Number

Get the TryAgainTime

Kind: Instance method of AlertResponse
Returns: Number - the KEY_TRY_AGAIN_TIME value

alertResponse.setTryAgainTime(time) ⇒ AlertResponse

Set the TryAgainTime

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

ParamTypeDescription
time Number Amount of time (in seconds) that an app must wait before resending an alert. If provided, another system event or overlay currently has a higher priority than this alert. An app must not send an alert without waiting at least the amount of time dictated. - The desired TryAgainTime. {'num_min_value': 0, 'num_max_value': 2000000000}
View on GitHub.com
Previous Section Next Section