AudioIn class abstract

AudioIn represents a device that can capture audio.

Inheritance
Implementers

Constructors

AudioIn.new()

Properties

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

Methods

doCommand(Map<String, dynamic> command) Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
inherited
getAudio({required String codec, double? durationSeconds, Int64? previousTimestampNanoseconds, Map<String, dynamic>? extra}) Stream<GetAudioResponse>
Stream audio from this device
getProperties({Map<String, dynamic>? extra}) Future<GetPropertiesResponse>
Get the audio properties of this audio in device
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 Methods

fromRobot(RobotClient robot, String name) AudioIn
Get the AudioIn named name from the provided robot.
getResourceName(String name) ResourceName
Get the ResourceName for this AudioIn with the given name

Constants

subtype → const Subtype