Configuration class Null safety

representation of a profile that exist in the media service

Annotations

Constructors

Configuration({required String token, required String name, int? useCount, String? compressionType, bool? geoLocation, bool? shapePolygon, PtzFilter? ptzStatus, List<Event>? events, bool? analytics, Multicast? multicast, String? sessionTimeout, dynamic analyticsEngineConfiguration})
Configuration.fromJson(Map<String, dynamic> json)
factory

Properties

analytics bool?
Defines whether the streamed metadata will include metadata from the analytics engines (video, cell motion, audio etc.)
@JsonKey(name: 'Analytics', fromJson: OnvifUtil.nullableMappedToBool), final
analyticsEngineConfiguration → dynamic
Indication which AnalyticsModules shall output metadata. Note that the streaming behavior is undefined if the list includes items that are not part of the associated AnalyticsConfiguration.
@JsonKey(name: 'AnalyticsEngineConfiguration'), final
compressionType String?
Optional parameter to configure compression type of Metadata payload. Use values from enumeration MetadataCompressionType.
@JsonKey(name: 'CompressionType'), final
events List<Event>?
Optional element to configure the streaming of events. A client might be interested in receiving all, none or some of the events produced by the device:
@JsonKey(name: 'Events'), final
geoLocation bool?
Optional parameter to configure if the metadata stream shall contain the Geo Location coordinates of each target.
@JsonKey(name: 'GeoLocation'), final
hashCode int
The hash code for this object.
read-only, inherited
multicast Multicast?
Defines the multicast settings that could be used for video streaming.
@JsonKey(name: 'Multicast'), final
name String
User readable name. Length up to 64 characters.
@JsonKey(name: 'Name', fromJson: OnvifUtil.mappedToString), final
ptzStatus PtzFilter?
optional element to configure which PTZ related data is to include in the metadata stream
@JsonKey(name: 'PTZStatus'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sessionTimeout String?
The rtsp session timeout for the related audio stream (when using Media2 Service, this value is deprecated and ignored)
@JsonKey(name: 'SessionTimeout', fromJson: OnvifUtil.mappedToString), final
shapePolygon bool?
Optional parameter to configure if the generated metadata stream should contain shape information as polygon.
@JsonKey(name: 'ShapePolygon'), final
token String
Token that uniquely references this configuration. Length up to 64 characters.
@JsonKey(name: '@token'), final
useCount int?
Number of internal references currently using this configuration. This informational parameter is read-only. Deprecated for Media2 Service.
@JsonKey(name: 'UseCount', fromJson: OnvifUtil.mappedToInt), final

Methods

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

Operators

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