MediaDeviceError enum

Media device error

Inheritance

Constructors

MediaDeviceError()
const

Values

ok → const MediaDeviceError

Normal.

deviceNoPermission → const MediaDeviceError

No permission to start the media device.

deviceBusy → const MediaDeviceError

The media device is already in use.

deviceFailure → const MediaDeviceError

Media device error.

deviceNotFound → const MediaDeviceError

The specified media device was not found.

deviceDisconnected → const MediaDeviceError

The media device is removed.

deviceNoCallback → const MediaDeviceError

he media device is expected to be working but no data is received.

unsupportedFormat → const MediaDeviceError

Device sample rate is not supported.

notFindGroupId → const MediaDeviceError

No group id parameter for iOS screen capture.

notAvailableInBackground → const MediaDeviceError

For iOS only. An interruption caused by the app being sent to the background as the user starts the system camera app.

videoInUseByAnotherClient → const MediaDeviceError

For iOS only. An interruption caused by the video device temporarily being unavailable (for example, when used by another app).

notAvailableWithMultipleForegroundApps → const MediaDeviceError

For iOS only. An interruption caused when your app is running in Slide Over, Split View, or Picture in Picture mode on iPad.

notAvailableDueToSystemPressure → const MediaDeviceError

For iOS only. An interruption due to system pressure, such as overheating.

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<MediaDeviceError>
A constant List of the values in this enum, in order of their declaration.