Interface IChangeChannelPromise
interface IChangeChannelPromise
Extends com.amazon.apmf.IStandard
Interface that describes the response promise of change channel commands.
Methods
resolve()
Set a status response to this promise object.voidresolve(com.amazon.kepler.tv.kepler_channel_common.IChangeChannelResponse*value)
Parameters
value
com.amazon.kepler.tv.kepler_channel_common.IChangeChannelResponse* — Required
An IChangeChannelResponse object to set as the value of the response
Throws
InvalidOperationError— if the function is called after resolve/reject is called already.
reject()
Set an error when rejecting this promise object.voidreject(com.amazon.apmf.IError*error)
Parameters
error
com.amazon.apmf.IError* — Required
An IError object indicating the reason for failure.
Throws
InvalidOperationError— if the function is called after resolve/reject is called already.

