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
Native
Skip to main content
KeplerScriptContentLauncher facilitates updating an application’s login status.

Extends

  • KeplerTurboModule

Properties

setupContentLauncherServer

setupContentLauncherServer: () => Promise<Object>
Setup the native ContentLauncherServer.

Returns

Promise<Object>

setHandler

setHandler: (handler: (transactionId: number, search: IInternalContentSearch, autoPlay: boolean, optionalFields: IInternalLaunchContentOptionalFields) => void) => Promise<Object>
Register the provided function to execute whenever content launch is requested.

Parameters

handler
(transactionId: number, search: IInternalContentSearch, autoPlay: boolean, optionalFields: IInternalLaunchContentOptionalFields) => void The handler to receive requests

Returns

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

setHandlerForComponent

setHandlerForComponent: (handler: (transactionId: number, search: IInternalContentSearch, autoPlay: boolean, optionalFields: IInternalLaunchContentOptionalFields) => void, componentInstance: IComponentInstance) => Promise<Object>
Register the provided function to execute whenever content launch is requested.

Parameters

handler
(transactionId: number, search: IInternalContentSearch, autoPlay: boolean, optionalFields: IInternalLaunchContentOptionalFields) => void The handler to receive requests
componentInstance
IComponentInstance An object representing the component instance to register to.

Returns

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

getMajorVersion

getMajorVersion: () => number
Get Major Version.

Returns

number

getMinorVersion

getMinorVersion: () => number
Get Minor Version.

Returns

number

getPatchVersion

getPatchVersion: () => number
Get Patch Version.

Returns

number

Methods

handleLaunchContentResponse()

handleLaunchContentResponse(transactionId: number, launcherResponse: IInternalLaunchResponse): void

Parameters

transactionId
number
launcherResponse
IInternalLaunchResponse
Last modified on August 25, 2026