AppTrackingProtection

Functions

Link copied to clipboard
abstract suspend fun isEnabled(): Boolean

This is a suspend function because the operation can take time. You DO NOT need to set any dispatcher to call this suspend function

Link copied to clipboard
abstract suspend fun isOnboarded(): Boolean

This method returns whether the user has gone through AppTP onboarding

Link copied to clipboard
abstract suspend fun isRunning(): Boolean

This is a suspend function because the operation can take time You DO NOT need to set any dispatcher to call this suspend function

Link copied to clipboard
abstract fun restart()

This method will restart the App Tracking Protection feature by disabling it and re-enabling back again

Link copied to clipboard
abstract fun stop()

This method will stop the App Tracking Protection feature