MethodChannelBoat class

Method-channel implementation of BoatPlatform.

Wires Dart ↔ native via four channels:

  • com.circuids.boat/methods (Dart → Native)
  • com.circuids.boat/events (Native → Dart)
  • com.circuids.boat/capture (Native → Dart)
  • com.circuids.boat/playback (Dart → Native)
Inheritance

Constructors

MethodChannelBoat()

Properties

captureFrames → Stream<AudioFrame>
no setteroverride
currentRoute → AudioRoute
no setteroverride
events → Stream<BoatEvent>
no setteroverride
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 setteroverride

Methods

checkPermission(PermissionType type) → Future<PermissionStatus>
override
dispose() → Future<void>
override
flushPlayback() → Future<void>
override
getDiagnostics() → Future<BoatDiagnostics>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openAppSettings() → Future<void>
override
pause() → Future<void>
override
play(Uint8List pcm) → void
override
reconfigure(BoatConfig config) → Future<void>
override
requestPermission(PermissionType type) → Future<PermissionStatus>
override
resume() → Future<void>
override
setRoute(AudioRoute route) → Future<void>
override
start(BoatConfig config) → Future<void>
override
stop() → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited