MLKitBarcodeScanning 架構參考資料

MLKBarcodeContactInfo


@interface MLKBarcodeContactInfo : NSObject

個人或機構的名片。這可能來自不同的基礎格式,包括 VCARDMECARD

這個物件代表簡化的名片檢視畫面。如需存取條碼中的無損資料,請自行剖析原始資料。如要存取原始資料,請使用 BarcoderawValue 屬性。

  • 使用者或機構的地址。

    聲明

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<MLKBarcodeAddress *> *addresses;
  • 聯絡人電子郵件。

    聲明

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<MLKBarcodeEmail *> *emails;
  • 個人姓名。

    聲明

    Objective-C

    @property (nonatomic, readonly, nullable) MLKBarcodePersonName *name;
  • 聯絡人電話號碼。

    聲明

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<MLKBarcodePhone *> *phones;
  • 聯絡人網址。

    聲明

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<NSString *> *urls;
  • 職稱。

    聲明

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *jobTitle;
  • 企業機構。

    聲明

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *organization;
  • 無法使用。

    聲明

    Objective-C

    - (nonnull instancetype)init;