setPreRollBreak method

Future<void> setPreRollBreak(
  1. int seconds
)

Dynamically set the pre-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 pre-roll break

Implementation

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