Constructors
new TargetNavigatorProvider()
new TargetNavigatorProvider():TargetNavigatorProvider
Returns
TargetNavigatorProvider
Methods
registerTargetNavigatorHandler()
static registerTargetNavigatorHandler(handler, componentInstance): void
Register a handler for target navigator callbacks. While this can be called
for multiple components, only the component specified in the application
manifest will receive requests.
Parameters
handler
TargetNavigatorHandler
The object implementing target navigator callbacks.
componentInstance
IComponentInstance
The component instance object received from the onStart callback.
Returns
void
updateAvailableTargets()
static updateAvailableTargets(availableTargets): void
Update the available targets for this server.
Parameters
availableTargets
TargetInfo[]
A list of targets that are now available for navigation.
This list must not contain more than 256 elements.
Note: Providers should call this upon startup and whenever the list of available targets changes.
Returns
void
Throws
Error if availableTargets contains more than 256 elements.updateCurrentTarget()
static updateCurrentTarget(currentTarget?): void
Update the current target for this server.
Parameters
currentTarget?
TargetInfo
Optional info for the new current target. This can be set to null to indicate
that there is not a current target which could be navigated to using the target
navigator interface.
Note: Providers should call this upon startup and whenever the current target changes.
Returns
void

