MLKitBarcodeScanning Framework Reference
BarcodePhone
class BarcodePhone : NSObject
A phone number from a TEL:
or similar QR Code type.
-
Declaration
Swift
var number: String? { get }
-
-
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[[["`BarcodePhone` represents a phone number extracted from QR codes containing contact information like `TEL:`."],["It provides access to the phone `number` as a string and the `type` of phone number."],["Although not directly instantiable, the `number` and `type` properties can be accessed after barcode scanning."]]],[]]