AnalyticsConfig class

Configures the behavior of the player analytics module.

Inheritance
Annotations

Constructors

AnalyticsConfig({required String licenseKey, bool adTrackingDisabled = false, bool randomizeUserId = false, RetryPolicy retryPolicy = RetryPolicy.noRetry, String backendUrl = 'https://analytics-ingress-global.bitmovin.com', DefaultMetadata defaultMetadata = const DefaultMetadata()})
const
AnalyticsConfig.fromJson(Map<String, dynamic> json)
factory

Properties

adTrackingDisabled bool
Value indicating if ad tracking is disabled. Default is false
final
backendUrl String
The URL of the Bitmovin Analytics backend. Default is the Bitmovin backend URL
final
defaultMetadata DefaultMetadata
final
hashCode int
The hash code for this object.
no setterinherited
licenseKey String
The analytics license key
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
randomizeUserId bool
Generate a random UserId for the session Default is false
final
retryPolicy RetryPolicy
Specifies the retry behavior in case an analytics request cannot be sent to the analytics backend. See RetryPolicy for the available settings. Default is RetryPolicy.noRetry
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

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.
inherited

Operators

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