MicInfoPlatform class abstract

An abstract class that represents the platform interface for accessing microphone information (wired, Bluetooth, default) in a Flutter plugin.

Inheritance
  • Object
  • PlatformInterface
  • MicInfoPlatform
Implementers

Constructors

MicInfoPlatform()
Constructs a MicInfoPlatform. This ensures that only platform-specific implementations can extend this class.

Properties

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

Methods

getActiveMicrophones() Future<List>
Abstract method to get the active microphones. This will throw an UnimplementedError unless overridden by a platform-specific class.
getBluetoothMicrophones() Future<List>
Abstract method to get the Bluetooth microphones. This will throw an UnimplementedError unless overridden by a platform-specific class.
getDefaultMicrophones() Future<List>
Abstract method to get the default microphones. This will throw an UnimplementedError unless overridden by a platform-specific class.
getWiredMicrophones() Future<List>
Abstract method to get the wired microphones. This will throw an UnimplementedError unless overridden by a platform-specific class.
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

Static Properties

instance MicInfoPlatform
The default instance of MicInfoPlatform to use. This allows you to access the instance of MicInfoPlatform throughout your app.
getter/setter pair