Enum MobilePrivacyStatus

  • All Implemented Interfaces:

    
    public enum MobilePrivacyStatus
    
                        

    Represents 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. Use AdobeMobileMarketing.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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final String value
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      OPT_IN

      Adobe Mobile Privacy Status opted-in.

      OPT_OUT

      Adobe Mobile Privacy Status opted-out.

      UNKNOWN

      Adobe Mobile Privacy Status is unknown.

    • Constructor Detail

    • Method Detail

      • 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

      • getValue

         String getValue()

        Returns the string value for this enum type.

        Returns:

        the string name for this enum type.