Documentation

Migrate

Migration notes for the Wikitude SDK Native API (Android)

Migrate from 7.1 to 7.2

  • TrackerManager
    • new function isPlatformAssistedTrackingSupported
      • should be used to guard methods that are not available when running with platform assisted tracking
  • InstantTracker
    • new function canStartTracking
  • InstantTrackerListener
    • new function onError
  • InstantTrackerConfiguration
    • when running with platform assisted tracking, some functionality is not available; these functions will raise an error through the error callback when called regardless
      • getTrackingPlaneOrientation
      • setTrackingPlaneOrientation
    • new function setSMARTEnabled
    • new function isSMARTEnabled
  • CameraManager
    • when running with platform assisted tracking, some functionality is not available; these functions will raise an error through the error callback when called regardless
      • getCameraPosition
      • setCameraPosition
      • getFocusMode
      • setFocusMode
      • isManualFocusAvailable
      • getManualFocusDistance
      • setManualFocusDistance
      • autoFocusRangeRestriction
      • getCurrentZoomLevel
      • setZoomLevel
      • getMaxZoomLevel
      • enableCameraFlashLight
      • disableCameraFlashLight
      • isCameraFlashLightEnabled

Migrate from 7.0 to 7.1

no changes required

Migrate from 2.1 to 7.0

  • Minimum Android SDK Version was raised to Android 4.4(19)
    • Update minSdkVersion to 19 in build.gradle or the manifest of your App.
  • Plugins API:
    • Plugin.h
      • deprecated:
        • void update(const std::list<RecognizedTarget>& recognizedTargets_). Use void update(const RecognizedTargetsBucket& recognizedTargetsBucket_) instead.
    • RecognizedTarget.h
      • deprecated class RecognizedTarget. Use ImageTarget instead.

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