AudioOut class abstract

AudioOut represents a device that can play audio.

Inheritance
Implementers

Constructors

AudioOut()

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
getGeometries({Map<String, dynamic>? extra}) → Future<List<Geometry>>
Get all geometries associated with the AudioOut
getProperties({Map<String, dynamic>? extra}) → Future<GetPropertiesResponse>
Get the audio properties of this audio output device
getStatus() → Future<Map<String, dynamic>>
Get the status of the Resource
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
play({required Uint8List audioData, required AudioInfo audioInfo, Map<String, dynamic>? extra}) → Future<PlayResponse>
Play audio data on this audio output device
playStream({required AudioInfo audioInfo, required Stream<Uint8List> audioStream, Map<String, dynamic>? extra}) → Future<PlayStreamResponse>
Stream audio chunks to this audio output device for playback.
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) → AudioOut
Get the AudioOut named name from the provided robot.
getResourceName(String name) → ResourceName
Get the ResourceName for this AudioOut with the given name

Constants

subtype → const Subtype