MLKitBarcodeScanning Framework Reference

BarcodePersonName

class BarcodePersonName : NSObject

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

  • Properly formatted name.

    Declaration

    Swift

    var formattedName: String? { get }
  • First name.

    Declaration

    Swift

    var first: String? { get }
  • Last name.

    Declaration

    Swift

    var last: String? { get }
  • Middle name.

    Declaration

    Swift

    var middle: String? { get }
  • Name prefix.

    Declaration

    Swift

    var prefix: String? { get }
  • Designates a text string to be set as the kana name in the phonebook. Used for Japanese contacts.

    Declaration

    Swift

    var pronunciation: String? { get }
  • Name suffix.

    Declaration

    Swift

    var suffix: String? { get }
  • Unavailable.