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;