EzvizSimplePlayer constructor

const EzvizSimplePlayer({
  1. Key? key,
  2. required String deviceSerial,
  3. required int channelNo,
  4. required EzvizPlayerConfig config,
  5. String? encryptionPassword,
  6. dynamic onStateChanged(
    1. EzvizSimplePlayerState state
    )?,
  7. Future<String?> onPasswordRequired()?,
  8. dynamic onError(
    1. String error
    )?,
})

Implementation

const EzvizSimplePlayer({
  super.key,
  required this.deviceSerial,
  required this.channelNo,
  required this.config,
  this.encryptionPassword,
  this.onStateChanged,
  this.onPasswordRequired,
  this.onError,
});