MLKitBarcodeScanning Framework Reference

BarcodeContactInfo

class BarcodeContactInfo : NSObject

A person’s or organization’s business card. This may come from different underlying formats including VCARD and MECARD.

This object represents a simplified view of possible business cards. If you require lossless access to the information in the barcode, you should parse the raw data yourself. To access the raw data, use the Barcode‘s rawValue property.

  • Person’s or organization’s addresses.

    Declaration

    Swift

    var addresses: [BarcodeAddress]? { get }
  • Contact emails.

    Declaration

    Swift

    var emails: [BarcodeEmail]? { get }
  • A person’s name.

    Declaration

    Swift

    var name: BarcodePersonName? { get }
  • Contact phone numbers.

    Declaration

    Swift

    var phones: [BarcodePhone]? { get }
  • Contact URLs.

    Declaration

    Swift

    var urls: [String]? { get }
  • A job title.

    Declaration

    Swift

    var jobTitle: String? { get }
  • A business organization.

    Declaration

    Swift

    var organization: String? { get }
  • Unavailable.