GoogleUserMessagingPlatform Framework Reference

  • UMPDebugGeography is an enum used for testing geographic location features.

  • It provides three options: disabled, EEA, and notEEA, allowing developers to simulate a user's location as either within or outside the European Economic Area.

  • These debug values help developers test functionalities dependent on user geography without relying on real location data.

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