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;