AppSetIdManagerFutures


abstract class AppSetIdManagerFutures


AppSetIdManager provides APIs for app and ad-SDKs to access appSetId for non-monetizing purpose. This class can be used by Java clients.

Summary

Public companion functions

AppSetIdManagerFutures?
from(context: Context)

Creates AppSetIdManagerFutures.

Public functions

abstract ListenableFuture<AppSetId>

Return the AppSetId.

Public companion functions

from

Added in 1.0.0
fun from(context: Context): AppSetIdManagerFutures?

Creates AppSetIdManagerFutures.

Returns
AppSetIdManagerFutures?

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

Public functions

getAppSetIdAsync

Added in 1.0.0
abstract fun getAppSetIdAsync(): ListenableFuture<AppSetId>

Return 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.