FlintMediaDevice class
A browser media input or output device.
Device labels may be empty until the user grants media permission, matching normal browser privacy behavior.
Constructors
- FlintMediaDevice({required String deviceId, required String kind, required String label, required String groupId})
-
const
Properties
- deviceId → String
-
Browser-provided device identifier scoped to the current origin.
final
- groupId → String
-
Browser group identifier for related devices on the same physical unit.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAudioInput → bool
-
Whether this device can provide audio input.
no setter
- isAudioOutput → bool
-
Whether this device can play audio output.
no setter
- isVideoInput → bool
-
Whether this device can provide video input.
no setter
- kind → String
-
Browser media kind, such as
videoinput,audioinput, oraudiooutput.final - label → String
-
Human-readable device label, when the browser is allowed to reveal it.
final
- 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