Capabilities class

The capabilities for the recording service is returned in the Capabilities element.

Annotations
  • @JsonSerializable()

Constructors

Capabilities({required bool dynamicRecordings, required bool dynamicTracks, required List<String> encoding, required int maxRate, required int maxTotalRate, required int maxRecordings, required int maxRecordingJobs, required bool options, bool? metadataRecording, bool? supportedExportFileFormats, bool? eventRecording, String? beforeEventLimit, String? afterEventLimit})
Capabilities.fromJson(Map<String, dynamic> json)
factory

Properties

afterEventLimit String?
If present a device shall support configuring after event durations up to the given value.
final
beforeEventLimit String?
If present a device shall support configuring before event durations up to the given value.
final
dynamicRecordings bool
Indication if the device supports dynamic creation and deletion of recordings
final
dynamicTracks bool
Indication if the device supports dynamic creation and deletion of tracks
final
encoding List<String>
Indication which encodings are supported for recording. The list may contain one or more enumeration values of tt:VideoEncoding and tt:AudioEncoding. For encodings that are neither defined in tt:VideoEncoding nor tt:AudioEncoding the device shall use the IANA definitions. Note, that a device without audio support shall not return audio encodings.
final
eventRecording bool?
Indication that the device supports event triggered recording.
final
hashCode int
The hash code for this object.
no setterinherited
maxRate int
Maximum supported bit rate for all tracks of a recording in kBit/s.
final
maxRecordingJobs int
Maximum total number of supported recording jobs by the device.
final
maxRecordings int
Maximum number of recordings supported. (Integer values only.)
final
maxTotalRate int
Maximum supported bit rate for all recordings in kBit/s.
final
metadataRecording bool?
Indication if the device supports recording metadata.
final
options bool
Indication if the device supports the GetRecordingOptions command.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedExportFileFormats bool?
Indication that the device supports ExportRecordedData command for the listed export file formats. The list shall return at least one export file format value. The value of 'ONVIF' refers to ONVIF Export File Format specification.
final

Methods

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

Operators

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