setPostRollBreak method

Future<void> setPostRollBreak(
  1. int seconds
)

Dynamically set the post-roll break duration. This method needs to be called with the duration in seconds. To disable the break call this with 0 value

  • seconds number of seconds for the post-roll break

Implementation

Future<void> setPostRollBreak(int seconds) async {
  await _methodChannel.invokeMethod<void>('setPostRollBreak', seconds);
}