public class WikitudeSDK
extends java.lang.Object
Constructor and Description |
---|
WikitudeSDK(ExternalRendering rendering_) |
WikitudeSDK(InternalRendering rendering_) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Deletes all cached files of this instance of the ArchitectView.
|
static void |
deleteRootCacheDirectory(android.content.Context context)
Deletes the root cache directory of the SDK.
|
CameraManager |
getCameraManager() |
static PermissionManager |
getPermissionManager()
Returns an static object of Type
PermissionManager which can be used to handle Androids runtime permissions. |
PluginManager |
getPluginManager() |
static SDKBuildInformation |
getSDKBuildInformation()
Returns an object of Type
SDKBuildInformation which can be used to get information of the sdk build. This information is helpful when reporting bugs in the sdk. |
static java.lang.String |
getSDKVersion()
Returns the SDK version in the format Major.Minor.Bugfix.
|
TrackerManager |
getTrackerManager() |
TrackingMapRecorder |
getTrackingMapRecorder() |
java.lang.String |
getVersion()
Deprecated.
|
void |
onCreate(android.content.Context applicationContext_,
android.content.Context activityContext_,
NativeStartupConfiguration startupConfiguration_) |
void |
onDestroy() |
void |
onPause() |
void |
onResume() |
static CameraSize |
resolveCameraResolution(android.content.Context activityContext,
CameraSettings.CameraResolution cameraResolution,
CameraSettings.CameraPosition cameraPosition,
boolean camera2Enabled) |
RenderSurfaceView |
setupWikitudeGLSurfaceView() |
public WikitudeSDK(InternalRendering rendering_)
public WikitudeSDK(ExternalRendering rendering_)
public RenderSurfaceView setupWikitudeGLSurfaceView()
public TrackerManager getTrackerManager()
@Deprecated public java.lang.String getVersion()
getSDKVersion()
instead.public CameraManager getCameraManager()
public PluginManager getPluginManager()
public TrackingMapRecorder getTrackingMapRecorder()
public void onCreate(android.content.Context applicationContext_, android.content.Context activityContext_, NativeStartupConfiguration startupConfiguration_)
public void onPause()
public void onResume()
public void onDestroy()
public void clearCache()
public static void deleteRootCacheDirectory(android.content.Context context)
context
- Context for file operations.public static java.lang.String getSDKVersion()
public static SDKBuildInformation getSDKBuildInformation()
SDKBuildInformation
public static CameraSize resolveCameraResolution(android.content.Context activityContext, CameraSettings.CameraResolution cameraResolution, CameraSettings.CameraPosition cameraPosition, boolean camera2Enabled)
public static PermissionManager getPermissionManager()
PermissionManager
which can be used to handle Androids runtime permissions.