ConcurrencyClient
@Emits(events = [EventType.GSC_MAX_CONCURRENCY_REACHED, EventType.GSC_HEARTBEAT_STOPPED, EventType.GSC_ERROR] )
@ListensFor(events = [EventType.ACTIVITY_PAUSED, EventType.ACTIVITY_RESUMED, EventType.COMPLETED, EventType.DID_PLAY, EventType.FRAGMENT_PAUSED, EventType.FRAGMENT_RESUMED, EventType.STOP, EventType.SET_VIDEO_STILL, EventType.ENTER_PICTURE_IN_PICTURE_MODE, EventType.DID_ENTER_PICTURE_IN_PICTURE_MODE, EventType.DID_EXIT_PICTURE_IN_PICTURE_MODE] )
Types
Link copied to clipboard
interface SessionsListener
Functions
Link copied to clipboard
Convenience method to add an EventListener for the given type using the EventEmitter.on() method.
Link copied to clipboard
Convenience method to add an EventListener for the given type using the EventEmitter.once() method.
Link copied to clipboard
Provides a reference to the EventEmitter with which this component was initialized
Link copied to clipboard
Initializes the events that the GSC should be listening to work properly.
Link copied to clipboard
Removes the specified listener from the EventEmitter.
Link copied to clipboard
Removes all set listeners from the EventEmitter.
Link copied to clipboard
Request the current active sessions.
Link copied to clipboard
Set the headers that will be included in the request
Link copied to clipboard
Set a SessionsListener to get the current active sessions
Link copied to clipboard