CalibrationDownloader Class

Description

CalibrationDownloader用于下载更新MotionTracker中使用的标定参数。下载后需要重新创建MotionTracker才会起作用。

Constructor

C

void easyar_CalibrationDownloader__ctor(easyar_CalibrationDownloader * * Return)

C++

CalibrationDownloader()

Java

public CalibrationDownloader()

Kotlin

constructor()

Objective-C

+ (easyar_CalibrationDownloader *) create

Swift

public convenience init()

C#

public CalibrationDownloader()

download

C

void easyar_CalibrationDownloader_download(easyar_CalibrationDownloader * This, easyar_OptionalOfInt timeoutMilliseconds, easyar_CallbackScheduler * callbackScheduler, easyar_FunctorOfVoidFromCalibrationDownloadStatusAndOptionalOfString onCompleted)

C++

void download(std::optional<int> timeoutMilliseconds, std::shared_ptr<CallbackScheduler> callbackScheduler, std::function<void(CalibrationDownloadStatus, std::optional<std::string>)> onCompleted)

Java

public void download(java.lang.@Nullable Integer timeoutMilliseconds, @Nonnull CallbackScheduler callbackScheduler, @Nonnull FunctorOfVoidFromCalibrationDownloadStatusAndOptionalOfString onCompleted)

Kotlin

fun download(timeoutMilliseconds: Int?, callbackScheduler: CallbackScheduler, onCompleted: FunctorOfVoidFromCalibrationDownloadStatusAndOptionalOfString): Unit

Objective-C

- (void)download:(NSNumber *)timeoutMilliseconds callbackScheduler:(easyar_CallbackScheduler *)callbackScheduler onCompleted:(void (^)(easyar_CalibrationDownloadStatus status, NSString * error))onCompleted

Swift

public func download(_ timeoutMilliseconds: Int32?, _ callbackScheduler: CallbackScheduler, _ onCompleted: @escaping (CalibrationDownloadStatus, String?) -> Void) -> Void

C#

public virtual void download(Optional<int> timeoutMilliseconds, CallbackScheduler callbackScheduler, Action<CalibrationDownloadStatus, Optional<string>> onCompleted)