סימוכין למסגרת של MLKitBarcodescan
BarcodeAddress
class BarcodeAddress : NSObject
כתובת.
-
כתובת בפורמט, שכוללת כמה שורות במקרים הרלוונטיים.
הניתוח של פורמטים של כתובות מוגבל למדי. בדרך כלל כל פרטי הכתובת יופיעו בשורה הראשונה של הכתובת. כדי לטפל טוב יותר בכתובות, מומלץ לנתח את הנתונים הגולמיים. הנתונים הגולמיים זמינים בנכס rawValue
של Barcode
.
הצהרה
Swift
var addressLines: [String]? { get }
-
-
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 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"]]