as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
The interface implemented by a target navigator server to handle requests.

Methods

handleGetCurrentTarget()

handleGetCurrentTarget(): Promise<TargetInfo[]>
Handle a request to get the currently active target for the server. Promise which will resolve with a currently active target if request was successful or reject if it failed.

Returns

Promise<TargetInfo[]>

handleGetAvailableTargets()

handleGetAvailableTargets(): Promise<TargetInfo[]>
Handle a request to get all currently available targets. Promise which will resolve with a list of available targets if request was successful or reject if it failed.

Returns

Promise<TargetInfo[]>

handleNavigateTargetRequest()

handleNavigateTargetRequest(targetInfo: TargetInfo, data?: string | undefined): Promise<string>
Handle a request to navigate to a specified target.

Parameters

targetInfo
TargetInfo The target to navigate to.
data?
string | undefined Optional data sent by the client along with the navigation request. Promise which will resolve with a status string if the request was successful or reject if it failed.

Returns

Promise<string>
最后修改于 2026年8月25日