public final class Permissions
extends java.lang.Object
| Constructor and Description |
|---|
Permissions() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DeviceIdentityPermission> |
getDeviceIdentities() |
java.util.List<UserIdentityPermission> |
getUserIdentities() |
boolean |
isAllowAccessDeviceApplicationStamp() |
boolean |
isAllowAccessIpAddress() |
boolean |
isAllowAccessLocation() |
boolean |
isAllowConsentState() |
boolean |
isAllowDeviceInformation() |
boolean |
isAllowUserAttributes() |
Permissions |
setAllowAccessDeviceApplicationStamp(boolean allowAccessDeviceApplicationStamp)
Request access to the "device application stamp" for this event data.
|
Permissions |
setAllowAccessIpAddress(boolean allowAccessIpAddress)
Request access to the IP address that sent this event data.
|
Permissions |
setAllowAccessLocation(boolean allowAccessLocation) |
Permissions |
setAllowConsentState(boolean allowConsentState)
Setting this will allow a partner to receive the consent state of the mParticle user profile
to which this request pertains.
|
Permissions |
setAllowDeviceInformation(boolean allowDeviceInformation)
Request access to device information
|
Permissions |
setAllowUserAttributes(boolean allowUserAttributes)
Request access to user attributes
Disabling this will also disable UserAttributeChange events
|
Permissions |
setDeviceIdentities(java.util.List<DeviceIdentityPermission> deviceIdentities) |
Permissions |
setUserIdentities(java.util.List<UserIdentityPermission> userIdentities) |
public java.util.List<DeviceIdentityPermission> getDeviceIdentities()
public Permissions setDeviceIdentities(java.util.List<DeviceIdentityPermission> deviceIdentities)
deviceIdentities - requested device identitiespublic java.util.List<UserIdentityPermission> getUserIdentities()
public Permissions setUserIdentities(java.util.List<UserIdentityPermission> userIdentities)
userIdentities - requested user identitiespublic boolean isAllowAccessLocation()
public Permissions setAllowAccessLocation(boolean allowAccessLocation)
allowAccessLocation - public boolean isAllowAccessIpAddress()
public Permissions setAllowAccessIpAddress(boolean allowAccessIpAddress)
allowAccessIpAddress - RuntimeEnvironment.getClientIpAddress()public boolean isAllowAccessDeviceApplicationStamp()
public Permissions setAllowAccessDeviceApplicationStamp(boolean allowAccessDeviceApplicationStamp)
allowAccessDeviceApplicationStamp - EventProcessingRequest.getDeviceApplicationStamp()public boolean isAllowDeviceInformation()
public Permissions setAllowDeviceInformation(boolean allowDeviceInformation)
allowDeviceInformation - public boolean isAllowUserAttributes()
public Permissions setAllowUserAttributes(boolean allowUserAttributes)
allowUserAttributes - public boolean isAllowConsentState()
public Permissions setAllowConsentState(boolean allowConsentState)
allowConsentState -