Constructors
new TargetNavigatorProvider()
new TargetNavigatorProvider(): TargetNavigatorProvider
Returns
TargetNavigatorProviderMethods
registerTargetNavigatorHandler()
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.staticregisterTargetNavigatorHandler(handler: TargetNavigatorHandler, componentInstance:IComponentInstance):void
Parameters
handler
TargetNavigatorHandler The object implementing target navigator callbacks.componentInstance
IComponentInstance
The component instance object received from the onStart callback.
updateAvailableTargets()
Update the available targets for this server.staticupdateAvailableTargets(availableTargets: TargetInfo[]):void
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.
Throws
- Error if availableTargets contains more than 256 elements.
updateCurrentTarget()
Update the current target for this server.staticupdateCurrentTarget(currentTarget?: TargetInfo| undefined):void
Parameters
currentTarget?
TargetInfo | undefined
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.
