MomentsAPIRegion

public enum MomentsAPIRegion : DataInputConvertible, Equatable, RawRepresentable

Enum representing the available regions for the Moments API.

The region determines which Tealium AudienceStream instance the API calls are made against. Use .custom(_:) to support future regions that may be released without requiring an SDK update.

  • Germany region

    Declaration

    Swift

    case germany
  • United States East region

    Declaration

    Swift

    case usEast
  • Sydney region

    Declaration

    Swift

    case sydney
  • Oregon region

    Declaration

    Swift

    case oregon
  • Tokyo region

    Declaration

    Swift

    case tokyo
  • Hong Kong region

    Declaration

    Swift

    case hongKong
  • Custom region for future regions

    Declaration

    Swift

    case custom(String)
  • The raw string value of the region

    Declaration

    Swift

    public var rawValue: String { get }
  • Creates a region from a raw string value

    Declaration

    Swift

    public init?(rawValue: String)
  • Declaration

    Swift

    public func toDataInput() -> any DataInput