ZIMAudioPlayConfig class
Playing configuration.
Configuration specifies the audio file path and routing type that currently need to be played.
Constructors
- ZIMAudioPlayConfig.new(String filePath, {ZIMAudioRouteType? routeType})
Properties
- filePath ↔ String
-
The absolute path of the file needs to be played. Currently, only full absolute paths with the suffix .mp3 or .m4a are supported. When passing in file paths in other formats, the SDK will throw an illegal file path error.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- routeType ↔ ZIMAudioRouteType?
-
Starting audio routing type when playing. The default playback device is the speaker.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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