MLKitBarcodeScanning Framework Reference

  • MLKBarcodePhone represents a phone number extracted from QR codes like TEL:.

  • It provides access to the phone number and its type.

  • Instances of MLKBarcodePhone cannot be directly initialized using init.

MLKBarcodePhone


@interface MLKBarcodePhone : NSObject

A phone number from a TEL: or similar QR Code type.

  • Phone number.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *number;
  • Phone number type.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    - (nonnull instancetype)init;