MLKitBarcodeScanning Framework Referansı
BarcodeAddress
class BarcodeAddress : NSObject
Adres.
-
Gerekirse birden fazla satır içeren biçimlendirilmiş adres.
Adres biçimlerinin ayrıştırılması oldukça sınırlıdır. Genellikle tüm adres bilgileri ilk adres satırında görünür. Adresleri daha iyi işlemek için ham verileri ayrıştırmanız önerilir. Ham veriler Barcode
'nin rawValue
mülkünde bulunur.
Bildirim
Swift
var addressLines: [String]? { get }
-
-
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-12-01 UTC.
[null,null,["Son güncelleme tarihi: 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"]]