Protocols

The following protocols are available globally.

  • Protocol for a Verification.

    See more

    Declaration

    Swift

    public protocol Verification
  • An opaque protocol representing a parsed phone number.

    Example usage:

    • It be passed as an argument when creating a Sinch Verification instance

    • It can be passed as an argument to the PhoneNumberUtil formatting functions.

    See more

    Declaration

    Swift

    public protocol PhoneNumber
  • PhoneNumberUtil provides functionality to parse and format phone numbers, and to test whether a string is a possible phone number.

    See more

    Declaration

    Swift

    public protocol PhoneNumberUtil