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

AlertResponse Class Reference

Constructors

Instance Methods

Constructors

new AlertResponse(parameters)

Initalizes 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, - The desired TryAgainTime. 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.
View on GitHub.com
Previous Section Next Section