AppSetIdManagerFutures


public 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 methods

static final AppSetIdManagerFutures
from(@NonNull Context context)

Creates AppSetIdManagerFutures.

abstract @NonNull ListenableFuture<@NonNull AppSetId>

Return the AppSetId.

Public methods

from

Added in 1.0.0
public static final AppSetIdManagerFutures from(@NonNull Context context)

Creates AppSetIdManagerFutures.

Returns
AppSetIdManagerFutures

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

getAppSetIdAsync

Added in 1.0.0
public abstract @NonNull ListenableFuture<@NonNull AppSetIdgetAppSetIdAsync()

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.