updatePlaybackSpeed method
Implementation
@override
Future<bool> updatePlaybackSpeed(double playbackSpeed) async {
try {
final result = await methodChannel.invokeMethod('updatePlaybackSpeed', {
'playbackSpeed': playbackSpeed,
});
return result;
} on PlatformException catch (e) {
debugPrint('Failed to update playback speed: ${e.message}');
return false;
}
}