AppSetIdManager


abstract class AppSetIdManager


AppSetIdManager provides APIs for app and ad-SDKs to access appSetId for non-monetizing purpose.

Summary

Public companion functions

AppSetIdManager?
obtain(context: Context)

Creates AppSetIdManager.

Public functions

abstract suspend AppSetId

Retrieve the AppSetId.

Public companion functions

obtain

Added in 1.0.0
fun obtain(context: Context): AppSetIdManager?

Creates AppSetIdManager.

Returns
AppSetIdManager?

AppSetIdManager object. If the device is running an incompatible build, the value returned is null.

Public functions

getAppSetId

abstract suspend fun getAppSetId(): AppSetId

Retrieve the AppSetId.

Throws
java.lang.SecurityException

if caller is not authorized to call this API.

kotlin.IllegalStateException

if this API is not available.

android.os.LimitExceededException

if rate limit was reached.