Hardware class

Properties

canSwitchSpeakerphone bool
read-only
hashCode int
The hash code for this object.
read-onlyinherited
onDeviceChange StreamController<List<MediaDevice>>
final
preferSpeakerOutput bool
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selectedAudioInput MediaDevice?
read / write
selectedAudioOutput MediaDevice?
read / write
selectedVideoInput MediaDevice?
read / write
speakerOn bool?
read / write

Methods

audioInputs() Future<List<MediaDevice>>
audioOutputs() Future<List<MediaDevice>>
enumerateDevices({String? type}) Future<List<MediaDevice>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openCamera({MediaDevice? device, bool? facingMode}) Future<MediaStream>
selectAudioInput(MediaDevice device) Future<void>
selectAudioOutput(MediaDevice device) Future<void>
setPreferSpeakerOutput(bool enable) Future<void>
setSpeakerphoneOn(bool enable) Future<void>
toString() String
A string representation of this object.
inherited
videoInputs() Future<List<MediaDevice>>

Operators

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

Static Properties

instance Hardware
final