This is documentation of a bèta release.
For documentation on the current version, please check Knowledge Base.
For documentation on the current version, please check Knowledge Base.
Example: Opening a focus position on startup
This example demonstrates using the Constants.STARTUP_SKIP_VIEWS
startup option to be able to set a focus position on viewer start, while also having access to a Promise that indicates success or failure. When using this startup option, the SDK integrator is expected to call setFocusPosition
or setFocusPositionWithOption
after the workspace has opened.
It was introduced because using Constants.STARTUP_FOCUS_POSITION
does the same, but does not allow the SDK user to know if this is successsful.
Last modified:: 2023/10/04 12:45