DeviceDetails class

Wrapper around a MediaDeviceDetails with id method.

id may be overridden to represent a different device.

Inheritance
Implementers
Available extensions

Constructors

DeviceDetails(MediaDeviceDetails _device)

Properties

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

Available on MediaDeviceDetails, provided by the MediaDeviceToSpeakerExtension extension

Returns the AudioSpeakerKind of these MediaDeviceDetails.
no setter

Methods

audioDeviceKind() → AudioDeviceKind?
Returns an AudioDeviceKind of these MediaDeviceDetails, if applicable.
override
deviceId() → String
Returns an unique identifier of the represented device.
override
free() → void
Drops the associated Rust struct and nulls the local Pointer to it.
groupId() → String?
Returns a group identifier of the represented device.
override
id() → String
Returns a unique identifier of this DeviceDetails.
isFailed() → bool
Indicates whether the last attempt to use this device failed.
override
kind() → MediaDeviceKind
Returns kind of the represented device.
override
label() → String
Returns label describing the represented device (for example "External USB Webcam").
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
numChannels() → int?
Audio device number of channels.
override
sampleRate() → int?
Audio device sample rate in Hz.
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override