Map of callbacks that receive connection events
Keep track of the last Safari extension event
Keep track of the last WebSocket event
Map of callbacks that received removed transfer events
Map of callbacks that receive Safari extension events
Notify all consumers when a Safari extension safariExtensionEvent occurs (enabled/disabled).
the event type.
Notify all consumers when a message is received from the websocket
the message received from the websocket
Notify all consumers when a connection webSocketEvent occurs. For example, when the SDK websocket connection to IBM Aspera Browser is closed or reconnected.
the event type.
Remove the callback (deregister) from the list of callbacks
the string of the callback to remove
Remove the callback (deregister) from the list of callbacks
the string of the callback to remove
Remove the callback (deregister) from the list of callbacks
the string of the callback to remove
Remove the callback (deregister) from the list of callbacks
the string of the callback to remove
Register a callback for getting transfers back to the consumer
the function to call with the array of transfers
the ID of the callback index
Register a callback for getting transfers back to the consumer
the function to call with the array of transfers
the ID of the callback index
Register a callback for getting Safari extension events back to the consumer
the function to call with the websocket event
the ID of the callback index
Register a callback for getting websocket events back to the consumer
the function to call with the websocket event
the ID of the callback index
Set up the activity tracking with IBM Aspera Browser.
a promise that resolves when the websocket connection is established. Currently, this promise does not reject.
Map of callbacks that receive transfer update events