סימוכין למסגרת של MLKitBarcodescan
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
MLKBarcodeAddress
@interface MLKBarcodeAddress : NSObject
כתובת.
-
כתובת מעוצבת, מכילה מספר שורות כשיש צורך.
הניתוח של פורמטים של כתובות מוגבל למדי. בדרך כלל כל פרטי הכתובת יופיעו
את שורת הכתובת הראשונה. כדי לטפל טוב יותר בכתובות, מומלץ לנתח את הנתונים הגולמיים.
הנתונים הגולמיים זמינים בנכס rawValue
של Barcode
.
הצהרה
Objective-C
@property (nonatomic, readonly, nullable) NSArray<NSString *> *addressLines;
-
-
הצהרה
Objective-C
- (nonnull instancetype)init;
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-20 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-09-20 (שעון UTC)."],[[["MLKBarcodeAddress represents a parsed address from a barcode."],["It includes properties for formatted address lines and address type."],["Raw barcode data offers more detailed address information for advanced parsing."],["Address parsing capabilities may be limited, relying mostly on the first address line."],["Direct initialization of MLKBarcodeAddress is not allowed."]]],["`MLKBarcodeAddress` is an Objective-C class representing an address. It provides the address in a formatted `addressLines` array of strings, though parsing limitations mean most data is often in the first line. For better address handling, raw data is accessible via `Barcode`'s `rawValue`. It also includes an `type` property indicating the address type. The `init` method is not available for use.\n"]]