Referensi Framework MLKitBarcodeScanning
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
BarcodeSMS
class BarcodeSMS : NSObject
Pesan SMS dari SMS:
atau jenis Kode QR yang serupa.
-
Pernyataan
Swift
var message: String? { get }
-
Pernyataan
Swift
var phoneNumber: String? { get }
-
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-22 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-08-22 UTC."],[[["`BarcodeSMS` objects represent SMS messages extracted from QR codes like those with \"SMS:\" prefixes."],["They contain the message body (`message`) and the recipient's phone number (`phoneNumber`)."],["You cannot directly create instances of `BarcodeSMS` using an initializer."]]],["The `BarcodeSMS` class represents an SMS message from a QR code. It contains two main properties: `message`, which holds the SMS body text, and `phoneNumber`, which stores the recipient's phone number. Both `message` and `phoneNumber` are optional strings. The class's initializer (`init`) is unavailable for direct use, suggesting that instances are created through other means not defined here.\n"]]