Migrate
Migration notes for the Wikitude SDK Native API (Android)
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.
- Update
- Plugins API:
- Plugin.h
- deprecated:
void update(const std::list<RecognizedTarget>& recognizedTargets_)
. Usevoid update(const RecognizedTargetsBucket& recognizedTargetsBucket_)
instead.
- deprecated:
- RecognizedTarget.h
- deprecated class
RecognizedTarget
. UseImageTarget
instead.
- deprecated class
- Plugin.h
Migrate from 2.0.1 to 2.1
PluginManager
:
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
- deprecated:
- 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
- deprecated:
Migrate from 1.3 to 1.4
WikitudeSDK
introduces the new methodclearCache
which can be used to clear all SDK internal caches.
Migrate from 1.0 to 1.1
TrackerManager
methods for creating aClientTracker
for 2D have changed fromcreateClientTracker
tocreate2dClientTracker
TrackerManager
methods for creating aCloudTracker
for 2D have changed fromcreateCloudTracker
tocreate2dCloudTracker