GoogleUserMessagingPlatform Framework Reference

  • UMPDebugGeography is an enum used for testing geographic location in debugging.

  • It provides three options: disabled, EEA, and notEEA to simulate different geographic regions for debugging purposes.

  • These options allow developers to test how their app behaves in the European Economic Area (EEA) and outside of it.

  • Each option is represented by an integer value for use within the code.

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