bitmovin-analytics 2.40.1 → 2.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bitmovin-analytics.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface CollectorConfig {
|
|
|
8
8
|
cookiesDomain?: string;
|
|
9
9
|
cookiesMaxAge?: number;
|
|
10
10
|
origin?: string;
|
|
11
|
+
ssaiEngagementTrackingEnabled?: boolean;
|
|
11
12
|
}
|
|
12
13
|
export interface AnalyticsConfig {
|
|
13
14
|
config?: CollectorConfig;
|
|
@@ -99,15 +100,15 @@ export interface AdapterAPI {
|
|
|
99
100
|
setCustomDataOnce: (values: CustomDataValues) => void;
|
|
100
101
|
sourceChange: (config: AnalyticsConfig) => void;
|
|
101
102
|
}
|
|
103
|
+
export type AdPosition = "preroll" | "midroll" | "postroll";
|
|
104
|
+
export type SsaiAdBreakMetadata = {
|
|
105
|
+
adPosition?: AdPosition;
|
|
106
|
+
};
|
|
102
107
|
export type SsaiAdMetadata = {
|
|
103
108
|
adId?: string;
|
|
104
109
|
adSystem?: string;
|
|
105
110
|
customData?: CustomDataValues;
|
|
106
111
|
};
|
|
107
|
-
export type AdPosition = "preroll" | "midroll" | "postroll";
|
|
108
|
-
export type SsaiAdBreakMetadata = {
|
|
109
|
-
adPosition?: AdPosition;
|
|
110
|
-
};
|
|
111
112
|
export type SsaiAdQuartile = "first" | "midpoint" | "third" | "completed";
|
|
112
113
|
export type SsaiAdQuartileMetadata = {
|
|
113
114
|
failedBeaconUrl?: string;
|
|
@@ -195,9 +196,9 @@ export declare class HTMLVideoElementAdapter implements AdapterAPI {
|
|
|
195
196
|
videoCodec?: string;
|
|
196
197
|
});
|
|
197
198
|
get sessionMetadata(): {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
setAudioLanguage(audioLanguage: string): void;
|
|
200
|
+
setSubtitleEnabled(enabled: boolean): void;
|
|
201
|
+
setSubtitleLanguage(subtitleLanguage: string): void;
|
|
201
202
|
};
|
|
202
203
|
static readonly version: string;
|
|
203
204
|
get version(): string;
|