MLKitBarcodeScanning 框架参考

MLKBarcodePersonName


@interface MLKBarcodePersonName : NSObject

个人的姓名,均采用个人姓名组成部分的格式。

  • 名称格式正确。

    声明

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *formattedName;
  • 名字。

    声明

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *first;
  • 姓氏。

    声明

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *last;
  • 中间名。

    声明

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *middle;
  • 名称前缀。

    声明

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *prefix;
  • 指定要设置为电话簿中的假名名称的文本字符串。 用于日语联系人。

    声明

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *pronunciation;
  • 名称后缀。

    声明

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *suffix;
  • 不可用。

    声明

    Objective-C

    - (nonnull instancetype)init;