MovaTestStep.ready constructor

const MovaTestStep.ready({
  1. Duration after = Duration.zero,
  2. int width = _defaultWidth,
  3. int height = _defaultHeight,
  4. Duration duration = _defaultDuration,
})

在 after 后模拟首帧就绪;width/height 为帧尺寸,duration 为媒体时长。 返回就绪步骤;示例:MovaTestStep.ready(duration: Duration(minutes: 2))。

Implementation

const MovaTestStep.ready({
  Duration after = Duration.zero,
  int width = _defaultWidth,
  int height = _defaultHeight,
  Duration duration = _defaultDuration,
}) : this._(
       _Signal.ready,
       after: after,
       width: width,
       height: height,
       duration: duration,
     );