setPreRollBreak method
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
secondsnumber of seconds for the pre-roll break
Implementation
Future<void> setPreRollBreak(int seconds) async {
await _methodChannel.invokeMethod<void>('setPreRollBreak', seconds);
}