Migration notes for the Wikitude SDK Native API (Android)

Migrate from 2.0.1 to 2.1

Migrate from 1.4 to 2.0

  • Input Plugin:
    • deprecated:
      • notifyRawCameraFieldOfViewChanged no longer used
      • notifyDynamicCameraFieldOfViewChanged use getCameraFrameSettings->setFrameFieldOfView instead
      • getInputFrameColorSpace use getCameraFrameSettings->setInputFrameColorSpace instead
      • getInputFrameSize use getCameraFrameSettings->setInputFrameSize instead
  • WikitudeStartupConfiguration:
    • removed use NativeStartupConfiguration instead
  • new class NativeStartupConfiguration:
    • parameters are set by setters instead of as constructor parameters like in the WikitudeStartupConfiguration
  • removed Camera parameter from CameraManagerListener.onCameraOpened
  • Trackers:
    • deprecated:
      • ClientTracker and its associated classes use TargetCollectionResource and an ImageTracker instead
      • CloudTracker and its associated classes use CloudRecognitionService and an ImageTracker instead

Migrate from 1.3 to 1.4

  • WikitudeSDK introduces the new method clearCache which can be used to clear all SDK internal caches.

Migrate from 1.0 to 1.1

  • TrackerManager methods for creating a ClientTracker for 2D have changed from createClientTracker to create2dClientTracker
  • TrackerManager methods for creating a CloudTracker for 2D have changed from createCloudTracker to create2dCloudTracker