AudioDeviceEvent class

An audio device event.

Inheritance
Implementers

Constructors

AudioDeviceEvent({required Sdl sdl, required int timestamp, required int index, required bool isCapture})
Create an event.
const
AudioDeviceEvent.fromSdlEvent(Sdl sdl, SDL_AudioDeviceEvent event)
Create an instance from an SDL event.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
The index for an added device.
final
isCapture bool
Whether or not the device is a capture device.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdl Sdl
The SDL bindings to use for this event.
finalinherited
timestamp int
The time this event was emitted.
finalinherited

Methods

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