MLKitBarcodeScanning Framework Reference

  • 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.

BarcodeSMS

class BarcodeSMS : NSObject

An SMS message from an SMS: or similar QR Code type.

  • An SMS message body.

    Declaration

    Swift

    var message: String? { get }
  • An SMS message phone number.

    Declaration

    Swift

    var phoneNumber: String? { get }
  • Unavailable.