MLKitBarcodeScanning フレームワーク リファレンス
BarcodeAddress
class BarcodeAddress : NSObject
住所。
-
フォーマットされた住所(必要に応じて複数行)。
住所の形式の解析は非常に限定的です。通常、すべての住所情報が最初の住所行に表示されます。住所を適切に処理するには、元のデータを解析することをおすすめします。元データは Barcode
の rawValue
プロパティで使用できます。
宣言
Swift
var addressLines: [String]? { get }
-
-
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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"]]