responder: Message callback function triggered when embed event initiated
MessageOptions: By Providing options, getting specific event start / end based on option
A boolean value indicating that start status events of this type will be dispatched
MessagePayload: Embed event payload: message type, data and status (start/end)
Gets the configuration embed was initialized with.
EmbedConfig The configuration embed was initialized with.
Return a promise that resolves with the session information when authentication is successful. And info is available.
Initializes the Visual Embed SDK globally and perform authentication if applicable. This function needs to be called before any ThoughtSpot component like liveboard etc can be embedded. But need not wait for AuthEvent.SUCCESS to actually embed. That is handled internally.
The configuration object containing ThoughtSpot host, authentication mechanism and so on.
AuthEventEmitter event emitter which emits events on authentication success, failure and logout. See AuthStatus
Logs out from ThoughtSpot. This also sets the autoLogin flag to false, to prevent the SDK from automatically logging in again.
You can call the init
method again to re login, if autoLogin is set to
true in this second call it will be honored.
This flag when passed will not disable autoLogin
Promise which resolves when logout completes.
Prefetches static resources from the specified URL. Web browsers can then cache the prefetched resources and serve them from the user's local disk to provide faster access to your app.
The URL provided for prefetch
Specify features which needs to be prefetched.
MessageCallback: Embed event message callback