MLKitBarcodeScanning Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
class BarcodeContactInfo : NSObject
A person’s or organization’s business card. This may come from different underlying formats
including VCARD
and MECARD
.
This object represents a simplified view of possible business cards. If you require lossless
access to the information in the barcode, you should parse the raw data yourself. To access the
raw data, use the Barcode
‘s rawValue
property.
-
Person’s or organization’s addresses.
-
-
-
-
Declaration
Swift
var urls: [String]? { get }
-
Declaration
Swift
var jobTitle: String? { get }
-
Declaration
Swift
var organization: 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."],[[["\u003cp\u003e\u003ccode\u003eBarcodeContactInfo\u003c/code\u003e provides a simplified representation of business card data extracted from barcodes, supporting formats like \u003ccode\u003eVCARD\u003c/code\u003e and \u003ccode\u003eMECARD\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access structured contact information, including addresses, emails, name, phone numbers, URLs, job title, and organization.\u003c/p\u003e\n"],["\u003cp\u003eFor complete, unprocessed barcode data, use the \u003ccode\u003erawValue\u003c/code\u003e property of the associated \u003ccode\u003eBarcode\u003c/code\u003e object to perform custom parsing.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers a convenient way to retrieve key contact details without requiring in-depth knowledge of the underlying barcode formats.\u003c/p\u003e\n"]]],["`BarcodeContactInfo` represents a simplified business card view, potentially from `VCARD` or `MECARD` formats. It provides access to a person's or organization's contact information, including addresses, emails, name, phone numbers, and URLs. It also offers job title and organization details. To view the raw data of a business card, you should parse the `rawValue` property from `Barcode`. The object is unavailable for direct initialization.\n"],null,[]]