Skip to content

TrackingStrategy

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

interface TrackingStrategy

The TrackingStrategy interface.

Inheritors

ActivityLifecycleTrackingStrategy
ViewTrackingStrategy

Functions

register

abstract fun register(sdkCore: SdkCore, context: Context)

This method will register the tracking strategy to the current Context and SDK instance.

Parameters
sdkCore as SdkCore
context as Context

unregister

abstract fun unregister(context: Context?)

This method will unregister the tracking strategy from the current Context.

Parameters
context as Context
Clone this wiki locally