AppSetIdManager


public abstract class AppSetIdManager


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

Summary

Public methods

abstract @NonNull AppSetId

Retrieve the AppSetId.

static final AppSetIdManager

Creates AppSetIdManager.

Public methods

getAppSetId

public abstract @NonNull AppSetId getAppSetId()

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.

obtain

Added in 1.0.0
public static final AppSetIdManager obtain(@NonNull Context context)

Creates AppSetIdManager.

Returns
AppSetIdManager

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