DeviceManagerApi class

Constructors

DeviceManagerApi({BinaryMessenger? binaryMessenger})
Constructor for DeviceManagerApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enableEarback(bool arg_enabled, int arg_volume) Future<int>
getCameraCurrentZoom() Future<int>
getCameraMaxZoom() Future<double>
getCurrentCamera() Future<int>
isCameraExposurePositionSupported() Future<bool>
isCameraFocusSupported() Future<bool>
isCameraTorchSupported() Future<bool>
isCameraZoomSupported() Future<bool>
isPlayoutDeviceMute() Future<bool>
isRecordDeviceMute() Future<bool>
isSpeakerphoneOn() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAudioFocusMode(int arg_focusMode) Future<int>
setCameraExposurePosition(SetCameraPositionRequest arg_request) Future<int>
setCameraFocusPosition(SetCameraPositionRequest arg_request) Future<int>
setCameraTorchOn(bool arg_on) Future<int>
setCameraZoomFactor(double arg_factor) Future<int>
setEarbackVolume(int arg_volume) Future<int>
setPlayoutDeviceMute(bool arg_mute) Future<int>
setRecordDeviceMute(bool arg_mute) Future<int>
setSpeakerphoneOn(bool arg_enable) Future<int>
switchCamera() Future<int>
switchCameraWithPosition(int arg_position) Future<int>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

codec → const MessageCodec<Object?>