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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-01 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-12-01 (UTC) को अपडेट किया गया."],[[["BarcodeAddress represents a parsed address with properties for formatted lines and address type."],["Address parsing is limited, often placing all information on the first line; using raw data from Barcode's `rawValue` is recommended for more comprehensive address handling."],["It includes properties like `addressLines` for formatted address lines and `type` for address classification."]]],["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"]]