VideoCallBack class

Constructors

VideoCallBack({required void onRenderView(String serialNumber), required void onPlayerState(int stateCode, String errorMessage, String serialNumber), required void onVideoSizeChanged(VideoPlayer player, String ratio, String serialNumber), required void onDownloadSpeedUpdate(int speed, String serialNumber), required void onDebug(Map<String, dynamic> detail, String serialNumber), required void onMicFrame(double volume, String serialNumber), required void onDeviceMsgPush(int code, Object obj, String serialNumber), required void onReport(String reportTopic, String info, String serialNumber), required void onMagicPixProcessState(int status, String sn, String serialNumber), required void onRecordState(int state, String videoPath, String serialNumber)})

Properties

hashCode int
The hash code for this object.
no setterinherited
nativeType String
getter/setter pair
onDebug → void Function(Map<String, dynamic> detail, String serialNumber)
final
onDeviceMsgPush → void Function(int code, Object obj, String serialNumber)
final
onDownloadSpeedUpdate → void Function(int speed, String serialNumber)
final
onMagicPixProcessState → void Function(int status, String sn, String serialNumber)
final
onMicFrame → void Function(double volume, String serialNumber)
final
onPlayerState → void Function(int stateCode, String errorMessage, String serialNumber)
final
onRecordState → void Function(int state, String videoPath, String serialNumber)
final
onRenderView → void Function(String serialNumber)
final
onReport → void Function(String reportTopic, String info, String serialNumber)
final
onVideoSizeChanged → void Function(VideoPlayer player, String ratio, String serialNumber)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(String methodName, List data) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() List<String>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited