VideoRecordedEvent class

An event fired when a video has finished recording.

Inheritance

Constructors

VideoRecordedEvent(int cameraId, XFile file, Duration? maxVideoDuration)
Build a VideoRecordedEvent triggered from the camera with the cameraId.
const
VideoRecordedEvent.fromJson(Map<String, dynamic> json)
Converts the supplied Map to an instance of the VideoRecordedEvent class.

Properties

cameraId int
The ID of the Camera this event is associated to.
finalinherited
file XFile
XFile of the recorded video.
final
hashCode int
The hash code for this object.
no setteroverride
maxVideoDuration Duration?
Maximum duration of the recorded video.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the VideoRecordedEvent instance into a Map instance that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

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