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

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