as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
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
最終更新日 2026年8月25日