MLKitBarcodeScanning Framework Reference

MLKBarcodePersonName


@interface MLKBarcodePersonName : NSObject

A person’s name, both formatted as individual name components.

  • Properly formatted name.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *formattedName;
  • First name.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *first;
  • Last name.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *last;
  • Middle name.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *middle;
  • Name prefix.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *prefix;
  • Designates a text string to be set as the kana name in the phonebook. Used for Japanese contacts.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *pronunciation;
  • Name suffix.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *suffix;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;