Class WikitudeNativeSDK
Main class to control the wikitude SDK.
Inheritance
Namespace: wikitude.sdk.uwp
Assembly: wikitude.sdk.dll
Syntax
public sealed class WikitudeNativeSDK : IDisposable
Constructors
WikitudeNativeSDK(ExternalRenderingSystem)
Constructs the Native SDK with an External Rendering System.
Declaration
public WikitudeNativeSDK(ExternalRenderingSystem externalRenderingSystem_)
Parameters
Type | Name | Description |
---|---|---|
ExternalRenderingSystem | externalRenderingSystem_ | Instance of ExternalRenderingSystem. |
WikitudeNativeSDK(InternalRenderingParameters)
Constructs the Native SDK with an Internal Rendering System.
Declaration
public WikitudeNativeSDK(InternalRenderingParameters internalRenderingParameters_)
Parameters
Type | Name | Description |
---|---|---|
InternalRenderingParameters | internalRenderingParameters_ | Instance of InternalRenderingSystem. |
Methods
Dispose()
Declaration
public void Dispose()
getBuildInformation()
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.
Declaration
public static BuildInformation getBuildInformation()
Returns
Type | Description |
---|---|
BuildInformation |
getCameraManager()
Returns an instance of the CameraManager which can be used to control the camera of the Wikitude SDK.
Declaration
public CameraManager getCameraManager()
Returns
Type | Description |
---|---|
CameraManager |
getPluginManager()
Returns an instance of the PluginManager which can be used to connect c++ Plugins to the Wikitude SDK.
Declaration
public PluginManager getPluginManager()
Returns
Type | Description |
---|---|
PluginManager |
getTrackerManager()
Returns an instance of the TrackerManager which can be used to create Image/Instant or ObjectTrackers and their components.
Declaration
public TrackerManager getTrackerManager()
Returns
Type | Description |
---|---|
TrackerManager |
isDeviceSupporting(FeatureFlags, DeviceSupportingFeatureHandler)
Declaration
public static void isDeviceSupporting(FeatureFlags requiredFeatures, DeviceSupportingFeatureHandler deviceSupportingFeatureResult)
Parameters
Type | Name | Description |
---|---|---|
FeatureFlags | requiredFeatures | |
DeviceSupportingFeatureHandler | deviceSupportingFeatureResult |
isRunning()
Returns true if the current state of the WikitudeSDK is running.
Declaration
public bool isRunning()
Returns
Type | Description |
---|---|
System.Boolean |
setLicenseKey(String)
Sets the license key allowing use of the Wikitude SDK.
Declaration
public void setLicenseKey(string licenseKey_)
Parameters
Type | Name | Description |
---|---|---|
System.String | licenseKey_ | String containing the license key. |
start()
Lifecycle method of the WikitudeSDK, this should be called when the application is resumed/started.
Declaration
public void start()
start(StartHandler)
Lifecycle method of the WikitudeSDK, this should be called when the application is resumed/started.
Declaration
public void start(StartHandler startHandler_)
Parameters
Type | Name | Description |
---|---|---|
StartHandler | startHandler_ |
start(StartHandler, StartupConfiguration)
Lifecycle method of the WikitudeSDK, this should be called when the application is resumed/started.
Declaration
public void start(StartHandler startHandler_, StartupConfiguration startupConfiguration_)
Parameters
Type | Name | Description |
---|---|---|
StartHandler | startHandler_ | |
StartupConfiguration | startupConfiguration_ |
stop()
Lifecycle method of the WikitudeSDK, this should be called when the application is suspended.
Declaration
public void stop()