ZegoUIKitMediaPlayerConfig constructor

const ZegoUIKitMediaPlayerConfig({
  1. bool canControl = true,
  2. bool showSurface = true,
  3. bool autoStart = true,
  4. bool isMovable = true,
  5. bool autoHideSurface = true,
  6. int hideSurfaceSecond = 3,
  7. bool enableRepeat = false,
  8. bool isPlayButtonCentral = true,
  9. List<String>? allowedExtensions,
})

Implementation

const ZegoUIKitMediaPlayerConfig({
  this.canControl = true,
  this.showSurface = true,
  this.autoStart = true,
  this.isMovable = true,
  this.autoHideSurface = true,
  this.hideSurfaceSecond = 3,
  this.enableRepeat = false,
  this.isPlayButtonCentral = true,
  this.allowedExtensions,
});