TrackingStrategy - DataDog/dd-sdk-android GitHub Wiki
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 |