AppSetId
public final class AppSetId
A unique, per-device, per developer-account user-resettable ID for non-monetizing advertising use cases.
Represents the appSetID and scope of this appSetId from the AppSetIdManager#getAppSetId() API. The scope of the ID can be per app or per developer account associated with the user. AppSetId is used for analytics, spam detection, frequency capping and fraud prevention use cases, on a given device, that one may need to correlate usage or actions across a set of apps owned by an organization.
Summary
Constants |
|
|---|---|
static final int |
SCOPE_APP = 1The appSetId is scoped to an app. |
static final int |
SCOPE_DEVELOPER = 2The appSetId is scoped to a developer account on an app store. |
Public methods |
|
|---|---|
boolean |
|
final @NonNull String |
getId()The appSetID. |
final int |
getScope()The scope of the ID. |
int |
hashCode() |
@NonNull String |
toString() |
Constants
SCOPE_APP
public static final int SCOPE_APP = 1
The appSetId is scoped to an app. All apps on a device will have a different appSetId.
SCOPE_DEVELOPER
public static final int SCOPE_DEVELOPER = 2
The appSetId is scoped to a developer account on an app store. All apps from the same developer on a device will have the same developer scoped appSetId.