NERtcDeviceManager class Null safety
Device management module
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
clearEventCallback(
) → Future< int> - Clear the callback for the device event
-
enableEarBack(
bool enabled, int volume) → Future< int> - Enable or disable the in-ear monitoring feature
-
getCameraMaxZoom(
) → Future< double> - Get the maximum zoom scale.
-
isPlayoutDeviceMute(
) → Future< bool> - Check if the current audio playback device is muted
-
isRecordDeviceMute(
) → Future< bool> - Check if the recording device is muted
-
isSpeakerphoneOn(
) → Future< bool> - Check if the speaker phone is turned on
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
setAudioFocusMode(
int focusMode) → Future< int> - Set the audio focus mode Only for Android
-
setCameraFocusPosition(
double x, double y) → Future< int> - Set the camera focus position
-
setCameraTorchOn(
bool on) → Future< int> - Turn on or off the camera torch
-
setCameraZoomFactor(
int factor) → Future< int> - Set the zoom factor of the camera
-
setEarBackVolume(
int volume) → Future< int> - Sets the volume for in-ear monitoring
-
setEventCallback(
NERtcDeviceEventCallback callback) → Future< int> - Set the callback for the device event
-
setPlayoutDeviceMute(
bool mute) → Future< int> - Mute or unmute the current audio playback device
-
setRecordDeviceMute(
bool mute) → Future< int> - Mute or unmute the audio recording device
-
setSpeakerphoneOn(
bool enable) → Future< int> - Turn on or off the speaker phone
-
switchCamera(
) → Future< int> - Switch the camera
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited