MLKitBarcodeScanning Framework Reference

  • MLKBarcodeEmail represents an email message extracted from a QR code, like those with "MAILTO:" links.

  • It provides read-only access to the email's address, body, subject, and type.

  • The properties address, body, and subject are strings that can be null, while type is an enum defining the email type.

  • Developers cannot directly initialize MLKBarcodeEmail using init, it is likely obtained through barcode scanning results.

MLKBarcodeEmail


@interface MLKBarcodeEmail : NSObject

An email message from a ‘MAILTO:’ or similar QR Code type.

  • Email message address.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *address;
  • Email message body.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *body;
  • Email message subject.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *subject;
  • Email message type.

    Declaration

    Objective-C

    @property (nonatomic, readonly) MLKBarcodeEmailType type;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;