as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

TargetNavigatorHandler

The interface implemented by a target navigator server to handle requests.

Methods

handleGetAvailableTargets()

handleGetAvailableTargets(): Promise<TargetInfo[]>

Handle a request to get all currently available targets.

Returns

Promise<TargetInfo[]>

Promise which will resolve with a list of available targets if request was successful or reject if it failed.


handleGetCurrentTarget()

handleGetCurrentTarget(): Promise<TargetInfo[]>

Handle a request to get the currently active target for the server.

Returns

Promise<TargetInfo[]>

Promise which will resolve with a currently active target if request was successful or reject if it failed.


handleNavigateTargetRequest()

handleNavigateTargetRequest(targetInfo, data?): Promise<string>

Handle a request to navigate to a specified target.

Parameters

targetInfo

TargetInfo

The target to navigate to.

data?

string

Optional data sent by the client along with the navigation request.

Returns

Promise<string>

Promise which will resolve with a status string if the request was successful or reject if it failed.


Last updated: Jun 10, 2026