AndroidXRImageTrackingSubsystem

The Android XR implementation of the XRImageTrackingSubsystem so it can work seamlessly with ARTrackedImageManager.

Summary

Inheritance

Inherits from: XRImageTrackingSubsystem

Public functions

TryGetMarkeData(TrackableId marker, out XRMarkerDictionary dictionary, out int markId)
bool
Try to get the XRMarkerDictionary and the id from the dictionary of a marker image.
TryGetQrCodeData(TrackableId qrCode, out string decodedData)
bool
Try to get the decoded data from a QR code image.

Public functions

TryGetMarkeData

bool TryGetMarkeData(
  TrackableId marker,
  out XRMarkerDictionary dictionary,
  out int markId
)

Try to get the XRMarkerDictionary and the id from the dictionary of a marker image.

Details
Parameters
marker
The TrackableId which represents a marker ARTrackedImage.
dictionary
The XRMarkerDictionary it belongs to.
markId
The id from the dictionary .
Returns
True if it gets marker data successfully.

TryGetQrCodeData

bool TryGetQrCodeData(
  TrackableId qrCode,
  out string decodedData
)

Try to get the decoded data from a QR code image.

Details
Parameters
qrCode
The TrackableId which represents a QR Code ARTrackedImage.
decodedData
The decoded QR code data.
Returns
true, if it succeed to get QR Code data and decodedData contains valid data.