EzvizSimplePlayer constructor
const
EzvizSimplePlayer({
- Key? key,
- required String deviceSerial,
- required int channelNo,
- required EzvizPlayerConfig config,
- String? encryptionPassword,
- dynamic onStateChanged(
- EzvizSimplePlayerState state
- Future<
String?> onPasswordRequired()?, - dynamic onError(
- String error
Implementation
const EzvizSimplePlayer({
super.key,
required this.deviceSerial,
required this.channelNo,
required this.config,
this.encryptionPassword,
this.onStateChanged,
this.onPasswordRequired,
this.onError,
});