ARMOD SDK Documents
Search…
iOS Native Calls Protocol API
NativeCallsProtocol defines protocol with methods you want to be called from managed

ThrowException

The method will be executed if an exception occurs
Param
Description
message
SDK error string
code
SDK error code
1
- (void)throwException:(NSString *)message errorCode:(int) code;
Copied!

AddLoadingOverlay

Start loading ARExperience
1
- (void)addLoadingOverlay;
Copied!

UpdateLoadingProgress

Loading ARExperience asset progress
Param
Description
progress
The progress value of float type
1
- (void) updateLoadingProgress:(float) progress;
Copied!

RemoveLoadingOverlay

Loading ARExperience finished
1
- (void)removeLoadingOverlay;
Copied!

DeviceNotSupoort

Current device is not support ARMOD
1
- (void)deviceNotSupport;
Copied!

SDKInitialized

After the AR algorithm is initialized, the method will be executed
1
- (void)sdkInitialized;
Copied!

OpenBuiltInBrowser

Open the URL in a custom browser
Param
Description
url
URL of NSString type
1
- (void)openBuiltInBrowser:(NSString *)url;
Copied!

RecognitionStart(unavailable)

Start recognition
1
- (void)recognitionStart;
Copied!

RecognitionComplete(unavailable)

Recognized successfully
1
- (void)recognitionComplete;
Copied!

TryAcquireInformation

Get app information from ARExperience script
Param
Description
opTag
The type of operation request initiated by AR Experience.
callback
Execution callback(Asynchronous)
1
- (void )tryAcquireInformation:(NSString*) opTag CallBackFuncP:(TryAcquireInformationCallBackFuncP) callback;
Copied!

PackageSizeMoreThanPresetSize

Detected that the ARExperience package is too large
Param
Description
currentSize
Current pacage size
presetSize
Maximum downloadable package size
1
- (void )packageSizeMoreThanPresetSize:(float) currentSize preset:(float) presetSize;
Copied!
Last modified 2mo ago