GoogleUserMessagingPlatform Framework Reference

  • UMPPrivacyOptionsRequirementStatus is an enum that indicates whether a user needs to be able to modify their privacy options.

  • UMPPrivacyOptionsRequirementStatusUnknown means the requirement status is not yet known.

  • UMPPrivacyOptionsRequirementStatusRequired means the user must be provided a way to change their privacy options.

  • UMPPrivacyOptionsRequirementStatusNotRequired means the user does not need to change their privacy options because either consent is not needed or the consent type does not require 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