FirebaseMLVision Framework Reference

FIRVisionBarcodeContactInfo


@interface FIRVisionBarcodeContactInfo : 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 FIRVisionBarcodes rawValue property.

  • Person’s or organization’s addresses.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<FIRVisionBarcodePhone *> *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;