MLKitBarcodeScanning Framework Reference

  • BarcodePhone represents a phone number extracted from QR codes containing contact information like TEL:.

  • It provides access to the phone number as a string and the type of phone number.

  • Although not directly instantiable, the number and type properties can be accessed after barcode scanning.

BarcodePhone

class BarcodePhone : NSObject

A phone number from a TEL: or similar QR Code type.

  • Phone number.

    Declaration

    Swift

    var number: String? { get }
  • Phone number type.

    Declaration

    Swift

    var type: BarcodePhoneType { get }
  • Unavailable.