Device State
data class DeviceState(val microphoneStatus: StateFlow<DeviceStatus>, val microphoneLastError: StateFlow<DeviceError>, val captureVolume: StateFlow<Int>, val currentMicVolume: StateFlow<Int>, val outputVolume: StateFlow<Int>, val cameraStatus: StateFlow<DeviceStatus>, val cameraLastError: StateFlow<DeviceError>, val isFrontCamera: StateFlow<Boolean>, val localMirrorType: StateFlow<MirrorType>, val localVideoQuality: StateFlow<VideoQuality>, val currentAudioRoute: StateFlow<AudioRoute>, val screenStatus: StateFlow<DeviceStatus>, val networkInfo: StateFlow<NetworkInfo>)
Device state
Constructors
Link copied to clipboard
constructor(microphoneStatus: StateFlow<DeviceStatus>, microphoneLastError: StateFlow<DeviceError>, captureVolume: StateFlow<Int>, currentMicVolume: StateFlow<Int>, outputVolume: StateFlow<Int>, cameraStatus: StateFlow<DeviceStatus>, cameraLastError: StateFlow<DeviceError>, isFrontCamera: StateFlow<Boolean>, localMirrorType: StateFlow<MirrorType>, localVideoQuality: StateFlow<VideoQuality>, currentAudioRoute: StateFlow<AudioRoute>, screenStatus: StateFlow<DeviceStatus>, networkInfo: StateFlow<NetworkInfo>)
Properties
Link copied to clipboard
Camera error, used to extract error information when an error occurs. {@link DeviceError}
Link copied to clipboard
Camera status. {@link DeviceStatus}
Link copied to clipboard
Capture volume, range 0, 100
Link copied to clipboard
Current audio route position. {@link AudioRoute}
Link copied to clipboard
Current user's actual output volume.
Link copied to clipboard
Whether it is front camera.
Link copied to clipboard
Mirror status. {@link MirrorType}
Link copied to clipboard
Local video quality. {@link VideoQuality}
Link copied to clipboard
Microphone error, used to extract error information when an error occurs. {@link DeviceError}
Link copied to clipboard
Microphone status. {@link DeviceStatus}
Link copied to clipboard
Network information. {@link NetworkInfo}
Link copied to clipboard
Maximum output volume, range 0, 100
Link copied to clipboard
Screen sharing status. {@link DeviceStatus}