Hardware class

Properties

canSwitchSpeakerphone bool
no setter
hashCode int
The hash code for this object.
no setterinherited
onDeviceChange StreamController<List<MediaDevice>>
final
preferSpeakerOutput bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedAudioInput MediaDevice?
getter/setter pair
selectedAudioOutput MediaDevice?
getter/setter pair
selectedVideoInput MediaDevice?
getter/setter pair
speakerOn bool?
getter/setter pair

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