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.85 kB
import { KochavaMeasurementDeeplink, KochavaMeasurementInstallAttribution, type KochavaMeasurementEvent, type KochavaMeasurementConfigCompletedListener, type KochavaMeasurementLogLevel } from 'react-native-kochava-measurement'; import type { KochavaMeasurementApi } from './KochavaMeasurementApi'; /** * Implementation for native platforms. Supported platforms are Android, Android TV, iOS, and tvOS. */ export declare class KochavaMeasurementImpl implements KochavaMeasurementApi { private _configCompletedListener; constructor(); executeAdvancedInstruction(name: string, value: string): void; setLogLevel(logLevel: KochavaMeasurementLogLevel): void; setSleep(enabled: boolean): void; setAppLimitAdTracking(enabled: boolean): void; registerCustomDeviceIdentifier(name: string, value: string | null): 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 | null): 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>; registerDeeplinkWrapperDomain(domain: string): void; processDeeplinkWithOverrideTimeout(path: string, timeout: number): Promise<KochavaMeasurementDeeplink>; 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: KochavaMeasurementEvent): void; } //# sourceMappingURL=KochavaMeasurementImpl.native.d.ts.map