//async Task MyMethod() => await MyNativeMethod().CastTask(); public async Task DownloadModelAsync(Huawei.Hms.Mlsdk.Model.Download.MLRemoteModel model, Huawei.Hms.Mlsdk.Model.Download.MLModelDownloadStrategy strategy, Huawei.Hms.Mlsdk.Model.Download.IMLModelDownloadListener listener) => await DownloadModel(model, strategy, listener).CastTask();
//async Task MyMethod() => await MyNativeMethod().CastTask(); public async Task PreparedModelAsync(Huawei.Hms.Mlsdk.Model.Download.MLModelDownloadStrategy strategy, Huawei.Hms.Mlsdk.Model.Download.IMLModelDownloadListener listener) => await PreparedModel(strategy, listener).CastTask();