AudioLocalError enum

Local audio state error codes.

Inheritance

Constructors

AudioLocalError()
const

Values

Ok → const AudioLocalError

0: The local audio is normal.

Failure → const AudioLocalError

1: No specified reason for the local audio failure.

DeviceNoPermission → const AudioLocalError

2: No permission to use the local audio device.

DeviceBusy → const AudioLocalError

3: The microphone is in use.

RecordFailure → const AudioLocalError

4: The local audio capturing fails. Check whether the capturing device is working properly.

EncodeFailure → const AudioLocalError

5: The local audio encoding fails.

Interrupted → const AudioLocalError

8: The local audio capture is interrupted by a system call. If the local audio capture is required, remind your user to hang up the phone.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<AudioLocalError>
A constant List of the values in this enum, in order of their declaration.