MetadataConfiguration class

representation of a profile that exist in the media service

Annotations
  • @JsonSerializable()

Constructors

MetadataConfiguration({required String token, required String name, int? useCount, String? compressionType, bool? geoLocation, bool? shapePolygon, PtzFilter? ptzStatus, List<Event>? events, bool? analytics, MulticastConfiguration? multicast, String? sessionTimeout, Map<String, dynamic>? analyticsEngineConfiguration, Map<String, dynamic>? extension})
MetadataConfiguration.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.)
final
analyticsEngineConfiguration Map<String, 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.
final
compressionType String?
Optional parameter to configure compression type of Metadata payload. Use values from enumeration MetadataCompressionType.
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:
final
extension Map<String, dynamic>?
final
geoLocation bool?
Optional parameter to configure if the metadata stream shall contain the Geo Location coordinates of each target.
final
hashCode int
The hash code for this object.
no setterinherited
multicast MulticastConfiguration?
Defines the multicast settings that could be used for video streaming.
final
name String
User readable name. Length up to 64 characters.
final
ptzStatus PtzFilter?
optional element to configure which PTZ related data is to include in the metadata stream
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionTimeout String?
The rtsp session timeout for the related audio stream (when using Media2 Service, this value is deprecated and ignored)
final
shapePolygon bool?
Optional parameter to configure if the generated metadata stream should contain shape information as polygon.
final
token String
Token that uniquely references this configuration. Length up to 64 characters.
final
useCount int?
Number of internal references currently using this configuration. This informational parameter is read-only. Deprecated for Media2 Service.
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