AI-generated Key Takeaways
- 
          This documentation details globally available constants used for barcode scanning with ML Kit on iOS. 
- 
          Constants define barcode value types, such as URLs, emails, contact info, and more. 
- 
          Additional constants specify address types, email types, phone types, and Wi-Fi encryption types associated with barcodes. 
- 
          These constants are declared in Objective-C and provide standardized values for interpreting barcode data. 
- 
          Developers can use these constants to access and utilize barcode information effectively within their applications. 
Constants
The following constants are available globally.
- 
                  
                  Unknown Barcode value types. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeUnknown = 0
- 
                  
                  Barcode value type for contact info. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeContactInfo = 1
- 
                  
                  Barcode value type for email addresses. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeEmail = 2
- 
                  
                  Barcode value type for ISBNs. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeISBN = 3
- 
                  
                  Barcode value type for phone numbers. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypePhone = 4
- 
                  
                  Barcode value type for product codes. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeProduct = 5
- 
                  
                  Barcode value type for SMS details. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeSMS = 6
- 
                  
                  Barcode value type for plain text. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeText = 7
- 
                  
                  Barcode value type for URLs/bookmarks. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeURL = 8
- 
                  
                  Barcode value type for Wi-Fi access point details. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeWiFi = 9
- 
                  
                  Barcode value type for geographic coordinates. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeGeographicCoordinates = 10
- 
                  
                  Barcode value type for calendar events. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeCalendarEvent = 11
- 
                  
                  Barcode value type for driver’s license data. DeclarationObjective-C static const MLKBarcodeValueType MLKBarcodeValueTypeDriversLicense = 12
- 
                  
                  Barcode unknown address type. DeclarationObjective-C static const MLKBarcodeAddressType MLKBarcodeAddressTypeUnknown = 0
- 
                  
                  Barcode work address type. DeclarationObjective-C static const MLKBarcodeAddressType MLKBarcodeAddressTypeWork = 1
- 
                  
                  Barcode home address type. DeclarationObjective-C static const MLKBarcodeAddressType MLKBarcodeAddressTypeHome = 2
- 
                  
                  Unknown email type. DeclarationObjective-C static const MLKBarcodeEmailType MLKBarcodeEmailTypeUnknown = 0
- 
                  
                  Barcode work email type. DeclarationObjective-C static const MLKBarcodeEmailType MLKBarcodeEmailTypeWork = 1
- 
                  
                  Barcode home email type. DeclarationObjective-C static const MLKBarcodeEmailType MLKBarcodeEmailTypeHome = 2
- 
                  
                  Unknown phone type. DeclarationObjective-C static const MLKBarcodePhoneType MLKBarcodePhoneTypeUnknown = 0
- 
                  
                  Barcode work phone type. DeclarationObjective-C static const MLKBarcodePhoneType MLKBarcodePhoneTypeWork = 1
- 
                  
                  Barcode home phone type. DeclarationObjective-C static const MLKBarcodePhoneType MLKBarcodePhoneTypeHome = 2
- 
                  
                  Barcode fax phone type. DeclarationObjective-C static const MLKBarcodePhoneType MLKBarcodePhoneTypeFax = 3
- 
                  
                  Barcode mobile phone type. DeclarationObjective-C static const MLKBarcodePhoneType MLKBarcodePhoneTypeMobile = 4
- 
                  
                  Barcode unknown Wi-Fi encryption type. DeclarationObjective-C static const MLKBarcodeWiFiEncryptionType MLKBarcodeWiFiEncryptionTypeUnknown = 0
- 
                  
                  Barcode open Wi-Fi encryption type. DeclarationObjective-C static const MLKBarcodeWiFiEncryptionType MLKBarcodeWiFiEncryptionTypeOpen = 1
- 
                  
                  Barcode WPA Wi-Fi encryption type. DeclarationObjective-C static const MLKBarcodeWiFiEncryptionType MLKBarcodeWiFiEncryptionTypeWPA = 2
- 
                  
                  Barcode WEP Wi-Fi encryption type. DeclarationObjective-C static const MLKBarcodeWiFiEncryptionType MLKBarcodeWiFiEncryptionTypeWEP = 3
