Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content

Extends

  • KeplerTurboModule

Properties

getConstants()?

readonly optional getConstants: () => object

Returns

object

Inherited from

KeplerTurboModule.getConstants

getMajorVersion()

getMajorVersion: () => number Get Major Version.

Returns

number

Overrides

KeplerTurboModule.getMajorVersion

getMinorVersion()

getMinorVersion: () => number Get Minor Version.

Returns

number

Overrides

KeplerTurboModule.getMinorVersion

getPatchVersion()

getPatchVersion: () => number Get Patch Version.

Returns

number

Overrides

KeplerTurboModule.getPatchVersion

handleChannelChangeResponseRejected()

handleChannelChangeResponseRejected: (transactionId, error) => void Send the rejected response for the change channel commands

Parameters

transactionId
number Transaction Id associated with the change channel command
error
string The error string

Returns

void

handleChannelChangeResponseResolved()

handleChannelChangeResponseResolved: (transactionId, changeChannelResponse) => void Send the resolved response for the change channel commands

Parameters

transactionId
number Transaction Id associated with the change channel command
changeChannelResponse
IInternalChangeChannelResponse The change channel response

Returns

void

setHandlersForComponent()

setHandlersForComponent: (changeChannelHandler, changeChannelByNumberHandler, skipChannelHandler, componentInstance) => Promise<Object> Register the provided channel change handlers to execute when requested.

Parameters

changeChannelHandler
ChangeChannelHandler The handler to receive requests for channel change
changeChannelByNumberHandler
ChangeChannelByNumberHandler The handler to receive requests for channel change by number
skipChannelHandler
SkipChannelHandler The handler to receive requests for channel skip
componentInstance
IComponentInstance An object representing the component instance to register to

Returns

Promise<Object> promise to asynchronously resolve/reject with success/fail

setupChannelServer()

setupChannelServer: () => Promise<Object> Setup the native ChannelServer.

Returns

Promise<Object>
Last modified on October 2, 2025