Enum MobilePrivacyStatus
-
- All Implemented Interfaces:
public enum MobilePrivacyStatusRepresents the possible privacy settings for the Adobe SDK.
The possible values for the Adobe Mobile Privacy Status. The privacy status controls whether specific activity is allowed on the device. The default privacy status is set in any ADBMobile JSON configuration file using the parameter
global.privacy. UseAdobeMobileMarketing.setPrivacyStatus()API to override the default privacy status.(TODO - verify the documentation link is accurate for AMSDK V5) To learn more about the Adobe Mobile Privacy Status, view the online documentation at https://marketing.adobe.com/resources/help/en_US/mobile/ios/privacy.html
-
-
Method Summary
Modifier and Type Method Description static MobilePrivacyStatusfromString(String text)Returns a MobilePrivacyStatus object based on the provided text.static Array<MobilePrivacyStatus>values()Returns an array containing the constants of this enum type, in the order they're declared. static MobilePrivacyStatusvalueOf(String name)Returns the enum constant of this type with the specified name. StringgetValue()Returns the string value for this enum type. -
-
Method Detail
-
fromString
static MobilePrivacyStatus fromString(String text)
Returns a MobilePrivacyStatus object based on the provided
text.If the text provided is not valid, UNKNOWN will be returned.
- Parameters:
text- String to be converted to aMobilePrivacyStatusobject- Returns:
MobilePrivacyStatusobject equivalent to the provided text
-
values
static Array<MobilePrivacyStatus> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static MobilePrivacyStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-