סימוכין למסגרת של MLKitBarcodescan

הגדרות סוגים

ההגדרות הבאות של סוגים זמינות בכל העולם.

  • @enum BarcodeValueType פורמט ערך של ברקוד. לדוגמה, TEXT, PRODUCT, URL וכו'.

    הצהרה

    Objective-C

    typedef NSInteger MLKBarcodeValueType
  • @enum BarcodeAddressType סוג כתובת.

    הצהרה

    Objective-C

    typedef NSInteger MLKBarcodeAddressType
  • @enum BarcodeEmailType סוג אימייל ל-BarcodeEmail.

    הצהרה

    Objective-C

    typedef NSInteger MLKBarcodeEmailType
  • @enum BarcodePhoneType סוג טלפון ל-BarcodePhone.

    הצהרה

    Objective-C

    typedef NSInteger MLKBarcodePhoneType
  • @enum BarcodeWiFiEncryptionType סוג הצפנת Wi-Fi עבור BarcodeWiFi.

    הצהרה

    Objective-C

    typedef NSInteger MLKBarcodeWiFiEncryptionType
  • בלוק שמכיל מערך של ברקודים או nil אם יש שגיאה.

    הצהרה

    Objective-C

    typedef void (^MLKBarcodeScanningCallback)(NSArray<MLKBarcode *> *_Nullable,
                                               NSError *_Nullable)

    פרמטרים

    barcodes

    מערך של ברקודים שנסרקו בתמונה או nil אם אירעה שגיאה.

    error

    השגיאה או nil.