react-native-kochava-measurement
Version:
A lightweight and easy to integrate SDK, providing first-class integration with Kochava’s installation attribution and analytics platform.
45 lines • 2.79 kB
TypeScript
import { type KochavaMeasurementLogLevel, type KochavaMeasurementConfigCompletedListener, KochavaMeasurementDeeplink, KochavaMeasurementInstallAttribution } from 'react-native-kochava-measurement';
import type { KochavaMeasurementApi } from './KochavaMeasurementApi';
/**
* Base implementation with functions as (no-op). This will only be hit on an unsupported platform.
*/
export declare class KochavaMeasurementImpl implements 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>;
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: object): void;
}
//# sourceMappingURL=KochavaMeasurementImpl.d.ts.map