GoogleUserMessagingPlatform Framework Reference

  • UMPDebugGeography provides debug values for testing geographic-specific features.

  • It includes options to simulate being in the EEA, a regulated US state, a region with no regulation, or to disable geography debugging.

  • The UMPDebugGeographyNotEEA option is deprecated and should be replaced with UMPDebugGeographyOther.

  • Developers can use these values to test the behavior of their apps under different geographic conditions.

UMPDebugGeography

enum UMPDebugGeography : NSInteger {}

Debug values for testing geography.

  • < Disable geography debugging.

    Declaration

    Swift

    case disabled = 0

    Objective-C

    UMPDebugGeographyDisabled = 0
  • < Geography appears as in EEA for debug devices.

    Declaration

    Swift

    case EEA = 1

    Objective-C

    UMPDebugGeographyEEA = 1
  • < Geography appears as in a regulated US State.

    Declaration

    Swift

    case regulatedUSState = 3

    Objective-C

    UMPDebugGeographyRegulatedUSState = 3
  • < Geography appears as in a region with no regulation in force.

    Declaration

    Swift

    case other = 4

    Objective-C

    UMPDebugGeographyOther = 4
  • Deprecated

    Deprecated. Use UMPDebugGeographyOther.

    Undocumented

    Declaration

    Swift

    case notEEA = 2

    Objective-C

    UMPDebugGeographyNotEEA
      __attribute__((deprecated("Deprecated. Use UMPDebugGeographyOther."))) = 2