CalibrationDownloader Class¶
Description¶
CalibrationDownloader is used for download and update of calibration data in MotionTracker. The calibration data will only take effect after reallocation of 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)