AudiopcPlatform class
An implementation of AudiopcPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- AudiopcPlatformInterface
- AudiopcPlatform
- Mixed-in types
Constructors
Properties
- eventChannel → EventChannel
-
finalinherited
- eventStream → dynamic
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
String id) → Future< void> -
override
-
getMetadata(
String path) → Future< Map?> -
override
-
getPosition(
String id) → Future< double?> -
override
-
init(
String id) → Future< void> -
Initializes the platform interface and create a new instance of the player.
override
-
listen(
String id) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
String id) → Future< void> -
override
-
play(
String id) → Future< void> -
override
-
seek(
double position, String id) → Future< void> -
override
-
setRate(
double rate, String id) → Future< void> -
override
-
setSource(
String path, String id) → Future< void> -
Sets the source of the player.
override
-
setVolume(
String id) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited