MLKitBarcodeScanning Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
BarcodePersonName
class BarcodePersonName : NSObject
A person’s name, both formatted as individual name components.
-
Declaration
Swift
var formattedName: String? { get }
-
Declaration
Swift
var first: String? { get }
-
Declaration
Swift
var last: String? { get }
-
Declaration
Swift
var middle: String? { get }
-
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 }
-
Declaration
Swift
var suffix: String? { get }
-
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["`BarcodePersonName` provides a structured representation of a person's name, including individual components like first, last, middle, prefix, and suffix."],["It offers a `formattedName` property for accessing the properly formatted full name."],["For Japanese contacts, the `pronunciation` property can store the kana name for phonebook entries."],["The initializer for `BarcodePersonName` is unavailable for direct use."]]],["The `BarcodePersonName` class represents a person's name, broken down into components. It provides read-only properties to access different parts of the name: `formattedName` (the complete name), `first`, `last`, `middle`, `prefix`, and `suffix`. Additionally, it includes `pronunciation` for Japanese names' phonetic representation. The class is initialized without using a specific init function. These properties are strings and can be nil.\n"]]