setSubscriptionDuration method

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

Implementation

@override
Future<int> setSubscriptionDuration(TauPlayerCallback callback, { Duration? duration,})
{
  return invokeMethod( callback, 'setSubscriptionDuration', {'duration': duration!.inMilliseconds},);
}