Stay organized with collections Save and categorize content based on your preferences.

AppSetIdManager

public class AppSetIdManager
extends Object

java.lang.Object
   ↳ android.adservices.appsetid.AppSetIdManager


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

Summary

Public methods

void getAppSetId(Executor executor, OutcomeReceiver<AppSetIdException> callback)

Retrieve the AppSetId.

Inherited methods

Public methods

getAppSetId

public void getAppSetId (Executor executor, 
                OutcomeReceiver<AppSetIdException> callback)

Retrieve the AppSetId.

Parameters
executor Executor: The executor to run callback. This value cannot be null.
callback OutcomeReceiver: The callback that's called after appsetid are available or an error occurs. This value cannot be null.

Returns
void This value cannot be null.

Throws
SecurityException if caller is not authorized to call this API.
IllegalStateException if this API is not available.
LimitExceededException if rate limit was reached.