@theoplayer/react-native-analytics-comscore
Version:
Comscore analytics connector for @theoplayer/react-native
26 lines (23 loc) • 664 B
text/typescript
export enum ComscoreUserConsent {
denied = '0',
granted = '1',
unknown = '-1',
}
export enum ComscoreUsagePropertiesAutoUpdateMode {
foregroundOnly = 'foregroundOnly',
foregroundAndBackground = 'foregroundAndBackground',
disabled = 'disabled',
}
export interface ComscoreConfiguration {
/**
* Also known as the c2 value
*/
publisherId: string;
applicationName: string;
userConsent: ComscoreUserConsent;
/**
* Defaults to foregroundOnly if none is specified. If your app has some background experience, use foregroundAndBackground.
*/
usagePropertiesAutoUpdateMode?: ComscoreUsagePropertiesAutoUpdateMode;
debug?: boolean;
}