AudioOut class abstract
AudioOut represents a device that can play audio.
- Inheritance
- Implementers
Constructors
Properties
Methods
-
doCommand(
Map< String, dynamic> command) → Future<Map< String, dynamic> > -
Send/Receive arbitrary commands to the Resource
inherited
-
getProperties(
{Map< String, dynamic> ? extra}) → Future<GetPropertiesResponse> - Get the audio properties of this audio output device
-
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
-
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
namefrom the provided robot. -
getResourceName(
String name) → ResourceName -
Get the ResourceName for this AudioOut with the given
name