ARCoreDeviceListDownloader Class¶
Description¶
ARCoreDeviceListDownloader is used for download and update of device list data in ARCoreCameraDevice.
Constructor¶
- C
void easyar_ARCoreDeviceListDownloader__ctor(easyar_ARCoreDeviceListDownloader * * Return)
- C++
ARCoreDeviceListDownloader()
- Java
public ARCoreDeviceListDownloader()
- Kotlin
constructor()
- Objective-C
+ (easyar_ARCoreDeviceListDownloader *) create
- Swift
public convenience init()
- C#
public ARCoreDeviceListDownloader()
download¶
- C
void easyar_ARCoreDeviceListDownloader_download(easyar_ARCoreDeviceListDownloader * This, easyar_OptionalOfInt timeoutMilliseconds, easyar_CallbackScheduler * callbackScheduler, easyar_FunctorOfVoidFromARCoreDeviceListDownloadStatusAndOptionalOfString onCompleted)
- C++
void download(std::optional<int> timeoutMilliseconds, std::shared_ptr<CallbackScheduler> callbackScheduler, std::function<void(ARCoreDeviceListDownloadStatus, std::optional<std::string>)> onCompleted)
- Java
public void download(java.lang.@Nullable Integer timeoutMilliseconds, @Nonnull CallbackScheduler callbackScheduler, @Nonnull FunctorOfVoidFromARCoreDeviceListDownloadStatusAndOptionalOfString onCompleted)
- Kotlin
fun download(timeoutMilliseconds: Int?, callbackScheduler: CallbackScheduler, onCompleted: FunctorOfVoidFromARCoreDeviceListDownloadStatusAndOptionalOfString): Unit
- Objective-C
- (void)download:(NSNumber *)timeoutMilliseconds callbackScheduler:(easyar_CallbackScheduler *)callbackScheduler onCompleted:(void (^)(easyar_ARCoreDeviceListDownloadStatus status, NSString * error))onCompleted
- Swift
public func download(_ timeoutMilliseconds: Int32?, _ callbackScheduler: CallbackScheduler, _ onCompleted: @escaping (ARCoreDeviceListDownloadStatus, String?) -> Void) -> Void
- C#
public virtual void download(Optional<int> timeoutMilliseconds, CallbackScheduler callbackScheduler, Action<ARCoreDeviceListDownloadStatus, Optional<string>> onCompleted)