KochavaTracker class
Kochava Tracker SDK
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildEventWithEventName(
String eventName) → KochavaTrackerEvent - Build and return an event using a custom name.
-
buildEventWithEventType(
KochavaTrackerEventType eventType) → KochavaTrackerEvent - Build and return an event using a Standard Event Type.
-
enableAndroidInstantApps(
String instantAppGuid) → void - (Android Only) Enable the Instant App feature by setting the instant app guid.
-
enableIosAppClips(
String containerAppGroupIdentifier) → void - (iOS Only) Enable App Clips by setting the Container App Group Identifier for App Clips data migration.
-
enableIosAtt(
) → void - (iOS Only) Enable App Tracking Transparency.
-
executeAdvancedInstruction(
String name, String value) → void - Reserved function, only use if directed to by your Client Success Manager.
-
getDeviceId(
) → Future< String> - Return the Kochava Device ID.
-
getInstallAttribution(
) → Future< KochavaTrackerInstallAttribution> - Return the currently retrieved install attribution data.
-
getStarted(
) → Future< bool> - Return if the SDK is currently started.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processDeeplink(
String path) → Future< KochavaTrackerDeeplink> - Process a launch deeplink using the default 10 second timeout.
-
processDeeplinkWithOverrideTimeout(
String path, num timeout) → Future< KochavaTrackerDeeplink> - Process a launch deeplink using a custom timeout in seconds.
-
registerAndroidAppGuid(
String androidAppGuid) → void - Register the Android App GUID. Do this prior to calling Start.
-
registerCustomBoolValue(
String name, bool? value) → void - Register a custom value to be included in SDK payloads.
-
registerCustomDeviceIdentifier(
String name, String? value) → void - Register a custom device identifier for install attribution.
-
registerCustomNumberValue(
String name, num? value) → void - Register a custom value to be included in SDK payloads.
-
registerCustomStringValue(
String name, String? value) → void - Register a custom value to be included in SDK payloads.
-
registerDefaultEventBoolParameter(
String name, bool? value) → void - Registers a default parameter on every event.
-
registerDefaultEventNumberParameter(
String name, num? value) → void - Registers a default parameter on every event.
-
registerDefaultEventStringParameter(
String name, String? value) → void - Registers a default parameter on every event.
-
registerDefaultEventUserId(
String? value) → void - Registers a default user_id value on every event.
-
registerIdentityLink(
String name, String value) → void - Register an Identity Link that allows linking different identities together in the form of key and value pairs.
-
registerIosAppGuid(
String iosAppGuid) → void - Register the iOS App GUID. Do this prior to calling Start.
-
registerPartnerName(
String partnerName) → void - Register your Partner Name. Do this prior to calling Start.
-
registerPrivacyProfile(
String name, List< String> keys) → void - Register a privacy profile, creating or overwriting an existing pofile.
-
registerPushToken(
String token) → void - Register the push token.
-
retrieveInstallAttribution(
) → Future< KochavaTrackerInstallAttribution> - Retrieve install attribution data from the server.
-
sendEvent(
String name) → void - Send an event.
-
sendEventWithDictionary(
String name, Map< String, dynamic> data) → void - Send an event with dictionary data.
-
sendEventWithEvent(
KochavaTrackerEvent event) → void - (Internal) Send an event object (Called via Event.send()).
-
sendEventWithString(
String name, String data) → void - Send an event with string data.
-
setAppLimitAdTracking(
bool appLimitAdTracking) → void - Set if app level advertising tracking should be limited.
-
setInitCompletedListener(
KochavaTrackerInitCallback? initCompletedCallback) → void - Set the init completed callback.
-
setIntelligentConsentGranted(
bool granted) → void - Set if consent has been explicitly opted in or out by the user.
-
setIosAttAuthorizationAutoRequest(
bool autoRequest) → void - (iOS Only) Set if the SDK should automatically request App Tracking Transparency Authorization on start. Default true.
-
setIosAttAuthorizationWaitTime(
num waitTime) → void - (iOS Only) Set the amount of time in seconds to wait for App Tracking Transparency Authorization. Default 30 seconds.
-
setLogLevel(
KochavaTrackerLogLevel logLevel) → void - Set the log level. This should be set prior to starting the SDK.
-
setPrivacyProfileEnabled(
String name, bool enabled) → void - Enable or disable an existing privacy profile.
-
setPushEnabled(
bool enabled) → void - Enable or disable the use of the push token.
-
setSleep(
bool sleep) → void - Set the sleep state.
-
shutdown(
bool deleteData) → void - Shut down the SDK and optionally delete all local SDK data.
-
start(
) → void - Start the SDK with the previously registered App GUID or Partner Name.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → KochavaTracker
-
Singleton Instance.
no setter