MLKitBarcodeScanning Framework Reference

MLKBarcodeContactInfo


@interface MLKBarcodeContactInfo : 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

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<MLKBarcodeAddress *> *addresses;
  • Contact emails.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<MLKBarcodeEmail *> *emails;
  • A person’s name.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) MLKBarcodePersonName *name;
  • Contact phone numbers.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<MLKBarcodePhone *> *phones;
  • Contact URLs.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<NSString *> *urls;
  • A job title.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *jobTitle;
  • A business organization.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *organization;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;