pl.wendigo.chrome.api.deviceorientation / DeviceOrientationOperations

DeviceOrientationOperations

class DeviceOrientationOperations (source)

DeviceOrientationOperations represents DeviceOrientation protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Link
Protocol DeviceOrientation domain documentation.

Functions

clearDeviceOrientationOverride

fun clearDeviceOrientationOverride(): Single<ResponseFrame>

Clears the overridden Device Orientation.

events

fun events(): Flowable<Event>

Returns flowable capturing all DeviceOrientation domains events.

setDeviceOrientationOverride

fun setDeviceOrientationOverride(input: SetDeviceOrientationOverrideRequest): Single<ResponseFrame>

Overrides the Device Orientation.