MethodChannelFlutterSoundPlayer class

An implementation of FlutterSoundPlayerPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

channelMethodCallHandler(MethodCall call) Future<bool>
closePlayer(FlutterSoundPlayerCallback callback) Future<int>
override
closeSession(FlutterSoundPlayerCallback aSession) → void
inherited
feed(FlutterSoundPlayerCallback callback, {Uint8List? data}) Future<int>
override
findSession(FlutterSoundPlayerCallback aSession) int
inherited
getPlayerState(FlutterSoundPlayerCallback callback) Future<int>
override
getProgress(FlutterSoundPlayerCallback callback) Future<Map<String, Duration>>
override
getResourcePath(FlutterSoundPlayerCallback callback) Future<String>
override
getSession(int slotno) FlutterSoundPlayerCallback
inherited
invokeMethod(FlutterSoundPlayerCallback callback, String methodName, Map<String, dynamic> call) Future<int>
invokeMethodBool(FlutterSoundPlayerCallback callback, String methodName, Map<String, dynamic> call) Future<bool>
invokeMethodMap(FlutterSoundPlayerCallback callback, String methodName, Map<String, dynamic> call) Future<Map>
invokeMethodString(FlutterSoundPlayerCallback callback, String methodName, Map<String, dynamic> call) Future<String>
isDecoderSupported(FlutterSoundPlayerCallback callback, {Codec codec = Codec.defaultCodec}) Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openPlayer(FlutterSoundPlayerCallback callback, {required Level logLevel}) Future<int>
override
openSession(FlutterSoundPlayerCallback aSession) → void
inherited
pausePlayer(FlutterSoundPlayerCallback callback) Future<int>
override
resetPlugin(FlutterSoundPlayerCallback callback) Future<void>?
override
resumePlayer(FlutterSoundPlayerCallback callback) Future<int>
override
seekToPlayer(FlutterSoundPlayerCallback callback, {Duration? duration}) Future<int>
override
setCallback() → void
setLogLevel(FlutterSoundPlayerCallback callback, Level logLevel) Future<void>?
override
setSpeed(FlutterSoundPlayerCallback callback, {required double speed}) Future<int>
override
setSubscriptionDuration(FlutterSoundPlayerCallback callback, {Duration? duration}) Future<int>
override
setVolume(FlutterSoundPlayerCallback callback, {double? volume}) Future<int>
override
setVolumePan(FlutterSoundPlayerCallback callback, {double? volume, double? pan}) Future<int>
override
startPlayer(FlutterSoundPlayerCallback callback, {Codec? codec, Uint8List? fromDataBuffer, String? fromURI, int? numChannels, int? sampleRate, int bufferSize = 20480}) Future<int>
override
startPlayerFromMic(FlutterSoundPlayerCallback callback, {int? numChannels, int? sampleRate, int bufferSize = 20480, bool enableVoiceProcessing = false}) Future<int>
override
stopPlayer(FlutterSoundPlayerCallback callback) Future<int>
override
toString() String
A string representation of this object.
inherited

Operators

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