BoatPlatform class abstract
Platform interface for Boat audio engine.
Platform-specific implementations extend this class and register themselves via BoatPlatform.instance.
- Inheritance
-
- Object
- PlatformInterface
- BoatPlatform
- Implementers
Constructors
Properties
-
captureFrames
→ Stream<
AudioFrame> -
no setter
- currentRoute → AudioRoute
-
no setter
-
events
→ Stream<
BoatEvent> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → BoatState
-
no setter
Methods
-
checkPermission(
PermissionType type) → Future< PermissionStatus> -
dispose(
) → Future< void> -
flushPlayback(
) → Future< void> -
getDiagnostics(
) → Future< BoatDiagnostics> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAppSettings(
) → Future< void> -
pause(
) → Future< void> -
play(
Uint8List pcm) → void -
reconfigure(
BoatConfig config) → Future< void> -
requestPermission(
PermissionType type) → Future< PermissionStatus> -
resume(
) → Future< void> -
setRoute(
AudioRoute route) → Future< void> -
start(
BoatConfig config) → Future< void> -
stop(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ BoatPlatform
-
The default instance of BoatPlatform to use.
getter/setter pair