MLKitBarcodeScanning फ़्रेमवर्क संदर्भ
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
BarcodeAddress
class BarcodeAddress : NSObject
पता.
-
फ़ॉर्मैट किया गया पता, जहां ज़रूरी हो वहां एक से ज़्यादा लाइनें हों.
पते के फ़ॉर्मैट को पार्स करने की प्रोसेस काफ़ी सीमित है. आम तौर पर पते की सभी जानकारी यहां दिखेगी
पहली पता पंक्ति. हमारा सुझाव है कि पतों को बेहतर तरीके से हैंडल करने के लिए, रॉ डेटा को पार्स करें. कॉन्टेंट बनाने
रॉ डेटा, Barcode
की rawValue
प्रॉपर्टी में उपलब्ध है.
एलान
Swift
var addressLines: [String]? { get }
-
-
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eBarcodeAddress represents a parsed address with properties for formatted lines and address type.\u003c/p\u003e\n"],["\u003cp\u003eAddress parsing is limited, often placing all information on the first line; using raw data from Barcode's \u003ccode\u003erawValue\u003c/code\u003e is recommended for more comprehensive address handling.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eaddressLines\u003c/code\u003e for formatted address lines and \u003ccode\u003etype\u003c/code\u003e for address classification.\u003c/p\u003e\n"]]],["The `BarcodeAddress` class represents a parsed address, primarily intended for extracting address information from a barcode. It features `addressLines`, an optional array of strings representing formatted address lines, and `type`, indicating the address type. The address parsing is limited, and the raw address data can be found in the `rawValue` property of the parent `Barcode` class for more complex parsing. Initialization of this class directly is unavailable.\n"],null,["# MLKitBarcodeScanning Framework Reference\n\nBarcodeAddress\n==============\n\n class BarcodeAddress : NSObject\n\nAn address.\n- `\n ``\n ``\n `\n\n ### [addressLines](#/c:objc(cs)MLKBarcodeAddress(py)addressLines)\n\n `\n ` \n Formatted address, containing multiple lines when appropriate.\n\n The parsing of address formats is quite limited. Typically all address information will appear on\n the first address line. To handle addresses better, it is recommended to parse the raw data. The\n raw data is available in [Barcode](../Classes/Barcode.html)'s `rawValue` property. \n\n #### Declaration\n\n Swift \n\n var addressLines: [String]? { get }\n\n- `\n ``\n ``\n `\n\n ### [type](#/c:objc(cs)MLKBarcodeAddress(py)type)\n\n `\n ` \n Address type. \n\n #### Declaration\n\n Swift \n\n var type: ../Type-Definitions.html#/c:MLKBarcode.h@T@MLKBarcodeAddressType { get }\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MLKBarcodeAddress(im)init)\n\n `\n ` \n Unavailable."]]