UNPKG

react-native-kochava-measurement

Version:

A lightweight and easy to integrate SDK, providing first-class integration with Kochava’s installation attribution and analytics platform.

47 lines 2.78 kB
import { KochavaMeasurementDeeplink, KochavaMeasurementInstallAttribution, type KochavaMeasurementConfigCompletedListener, type KochavaMeasurementLogLevel } from "react-native-kochava-measurement"; import type { KochavaMeasurementApi } from "./KochavaMeasurementApi"; /** * Implementation for web platforms. This includes pure web and Vega platforms. */ export declare class KochavaMeasurementImpl implements KochavaMeasurementApi { private kochava; constructor(); executeAdvancedInstruction(name: string, value: string): void; setLogLevel(logLevel: KochavaMeasurementLogLevel): void; setSleep(enabled: boolean): void; setAppLimitAdTracking(_enabled: boolean): void; registerCustomDeviceIdentifier(name: string, value: string): void; registerCustomStringValue(_name: string, _value: string | null): void; registerCustomBoolValue(_name: string, _value: boolean | null): void; registerCustomNumberValue(_name: string, _value: number | null): void; registerIdentityLink(name: string, value: string): void; enableAppleAppClips(_identifier: string): void; enableAppleAtt(): void; setAppleAttAuthorizationWaitTime(_timeInterval: number): void; setAppleAttAuthorizationAutoRequest(_enabled: boolean): void; setAppleAttAuthorizationCustomPrompt(_enabled: boolean): void; appleAttAuthorizationCustomPromptDidComplete(): void; registerPrivacyProfile(_name: string, _keys: string[]): void; setPrivacyProfileEnabled(_name: string, _enabled: boolean): void; setConfigCompletedListener(_configCompletedListener: KochavaMeasurementConfigCompletedListener | null): void; setIntelligentConsentGranted(_granted: boolean): void; getStarted(): Promise<boolean>; start(parameters: { [key: string]: string; }): void; shutdown(deleteData: boolean): void; retrieveInstallId(): Promise<string>; retrieveInstallAttribution(): Promise<KochavaMeasurementInstallAttribution>; processDeeplink(_path: string): Promise<KochavaMeasurementDeeplink>; processDeeplinkWithOverrideTimeout(_path: string, _timeout: number): Promise<KochavaMeasurementDeeplink>; registerDeeplinkWrapperDomain(_domain: string): void; registerDefaultEventStringParameter(_name: string, _value: string | null): void; registerDefaultEventBoolParameter(_name: string, _value: boolean | null): void; registerDefaultEventNumberParameter(_name: string, _value: number | null): void; registerDefaultEventUserId(_value: string | null): void; sendEvent(name: string): void; sendEventWithString(name: string, data: string): void; sendEventWithDictionary(name: string, data: object): void; sendEventWithEvent(event: any): void; } //# sourceMappingURL=KochavaMeasurementImpl.web.d.ts.map