VouchrPhoneNumberFormat

enum VouchrPhoneNumberFormat {}

Different supported phone number formats. See each for an example formatting.

  • No formatting done. Eg. 1234567890

    Declaration

    Objective-C

    VouchrPhoneNumberFormatNone = 0

    Swift

    case VouchrPhoneNumberFormatNone = 0
  • Formatting using E164. Eg. +11234567890

    Declaration

    Objective-C

    VouchrPhoneNumberFormatE164

    Swift

    case VouchrPhoneNumberFormatE164 = 1
  • Formatting Internationally. Eg. +1 123-456-7890

    Declaration

    Objective-C

    VouchrPhoneNumberFormatInternational

    Swift

    case VouchrPhoneNumberFormatInternational = 2
  • Formatting Nationally. Eg. (123) 456-7890

    Declaration

    Objective-C

    VouchrPhoneNumberFormatNational

    Swift

    case VouchrPhoneNumberFormatNational = 3
  • Formatting using RFC3966. Eg. tel: + 1-123-456-7890

    Declaration

    Objective-C

    VouchrPhoneNumberFormatRFC3966

    Swift

    case VouchrPhoneNumberFormatRFC3966 = 4
  • Used to get a count of VouchrPhoneNumberFormat

    Declaration

    Objective-C

    NumberOfVouchrPhoneNumberFormats

    Swift

    case NumberOfVouchrPhoneNumberFormats = 5