class BackgroundServiceDomain
(source)
Defines events for background web platform features.
fun backgroundServiceEventReceived(): Flowable<BackgroundServiceEventReceivedEvent>
Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording. |
|
fun backgroundServiceEventReceivedTimed(): Flowable<Timed<BackgroundServiceEventReceivedEvent>>
Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording. |
|
fun clearEvents(input: ClearEventsRequest): Single<ResponseFrame>
Clears all stored data for the service. |
|
fun events(): Flowable<ProtocolEvent>
Returns flowable capturing all BackgroundService domains events. |
|
fun recordingStateChanged(): Flowable<RecordingStateChangedEvent>
Called when the recording state for the service has been updated. |
|
fun recordingStateChangedTimed(): Flowable<Timed<RecordingStateChangedEvent>>
Called when the recording state for the service has been updated. |
|
fun setRecording(input: SetRecordingRequest): Single<ResponseFrame>
Set the recording state for the service. |
|
fun startObserving(input: StartObservingRequest): Single<ResponseFrame>
Enables event updates for the service. |
|
fun stopObserving(input: StopObservingRequest): Single<ResponseFrame>
Disables event updates for the service. |