TargetNavigatorHandler
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
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>
Last updated: Jul 23, 2026

