GoogleUserMessagingPlatform Framework Reference

  • UMPPrivacyOptionsRequirementStatus indicates whether a user needs to be provided with a way to change their privacy choices.

  • It has three possible states: unknown, required, and notRequired, corresponding to an undetermined requirement, a requirement to provide privacy options, and no requirement respectively.

  • When required, the user must be given a method to modify their privacy settings.

  • When notRequired, either consent is not needed, or the type of consent obtained doesn't allow for user modification.

UMPPrivacyOptionsRequirementStatus

enum UMPPrivacyOptionsRequirementStatus : NSInteger {}

State values for whether the user needs to be provided a way to modify their privacy options.

  • Requirement unknown.

    Declaration

    Swift

    case unknown = 0

    Objective-C

    UMPPrivacyOptionsRequirementStatusUnknown = 0
  • A way must be provided for the user to modify their privacy options.

    Declaration

    Swift

    case required = 1

    Objective-C

    UMPPrivacyOptionsRequirementStatusRequired = 1
  • User does not need to modify their privacy options. Either consent is not required, or the consent type does not require modification.

    Declaration

    Swift

    case notRequired = 2

    Objective-C

    UMPPrivacyOptionsRequirementStatusNotRequired = 2