setSubscriptionDuration method

  1. @override
Future<int> setSubscriptionDuration(
  1. FlutterSoundPlayerCallback callback, {
  2. Duration? duration,
})
override

Implementation

@override
Future<int> setSubscriptionDuration(
  FlutterSoundPlayerCallback callback, {
  Duration? duration,
}) async {
  return getWebSession(callback)!
      .setSubscriptionDuration(duration!.inMilliseconds);
}