Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート

KeplerScriptContentLauncher

KeplerScriptContentLauncher

KeplerScriptContentLauncherを使用すると、アプリのログインステータスを簡単に更新できます。

拡張

  • KeplerTurboModule

プロパティ

setupContentLauncherServer

setupContentLauncherServer: () => Promise<Object>

ネイティブのContentLauncherServerをセットアップします。


setHandler

setHandler: (handler: (transactionId: number, search: IInternalContentSearch, autoPlay: boolean, optionalFields: IInternalLaunchContentOptionalFields) => void) => Promise<Object>

提供された関数を登録して、コンテンツの起動がリクエストされるたびに実行します。


setHandlerForComponent

setHandlerForComponent: (handler: (transactionId: number, search: IInternalContentSearch, autoPlay: boolean, optionalFields: IInternalLaunchContentOptionalFields) => void, componentInstance: IComponentInstance) => Promise<Object>

提供された関数を登録して、コンテンツの起動がリクエストされるたびに実行します。


getMajorVersion

getMajorVersion: () => number

メジャーバージョンを取得します。


getMinorVersion

getMinorVersion: () => number

マイナーバージョンを取得します。


getPatchVersion

getPatchVersion: () => number

パッチバージョンを取得します。

メソッド

handleLaunchContentResponse()

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

パラメーター

transactionId

number

launcherResponse

IInternalLaunchResponse


Last updated: 2026年7月22日