MLKitBarcodeScanning Framework Reference

  • BarcodeGeoPoint objects represent GPS coordinates extracted from QR codes containing location data (e.g., GEO: type).

  • The class provides read-only access to the latitude (latitude) and longitude (longitude) values of the geographical point.

  • Instances of BarcodeGeoPoint cannot be directly initialized using the default initializer (init).

BarcodeGeoPoint

class BarcodeGeoPoint : NSObject

GPS coordinates from a GEO: or similar QR Code type data.

  • A location latitude.

    Declaration

    Swift

    var latitude: Double { get }
  • A location longitude.

    Declaration

    Swift

    var longitude: Double { get }
  • Unavailable.