AudioVolume class
Provides the ability to control and monitor the volume levels.
Constructors
- AudioVolume()
-
Provides the ability to control and monitor the volume levels.
factory
Properties
-
currentPlaybackType
→ Future<
AudioVolumeType> -
Gets the volume type of the sound being currently played.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onChanged
↔ Stream<
VolumeChangedEvent> -
A stream of events occurring when the volume level is changed.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getLevel(
AudioVolumeType type) → Future< int> -
Gets the current volume level for
type
. -
getMaxLevel(
AudioVolumeType type) → Future< int> -
Gets the maximum volume level for
type
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLevel(
AudioVolumeType type, int level) → Future< void> -
Sets the volume level for
type
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited