react-native-kochava-measurement
Version:
A lightweight and easy to integrate SDK, providing first-class integration with Kochava’s installation attribution and analytics platform.
41 lines • 2.52 kB
TypeScript
import type { KochavaMeasurementDeeplink, KochavaMeasurementConfigCompletedListener, KochavaMeasurementInstallAttribution, KochavaMeasurementLogLevel } from "react-native-kochava-measurement";
export interface KochavaMeasurementApi {
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: object): void;
}
//# sourceMappingURL=KochavaMeasurementApi.d.ts.map