//async Task<NAME> MyMethod(params) => await MyNativeMethod(params).CastTask<NAME>();
 public async Task <GoogleGson.JsonObject> AnalyseFrameAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame) =>
 await AsyncAnalyseFrame(frame).CastTask <GoogleGson.JsonObject>();
 //async Task<IList<TYPE>> MyMethod(params) => await MyNativeMethod(params).CastTask<JavaList<TYPE>>();
 public async Task <IList <MLHandKeypoints> > AnalyseFrameAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame) =>
 await AsyncAnalyseFrame(frame).CastTask <JavaList <MLHandKeypoints> >();
Esempio n. 3
0
 //async Task<NAME> MyMethod(params) => await MyNativeMethod(params).CastTask<NAME>();
 public async Task <MLImageSuperResolutionResult> AnalyseFrameAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame) =>
 await AsyncAnalyseFrame(frame).CastTask <MLImageSuperResolutionResult>();
 //async Task<IList<TYPE>> MyMethod(params) => await MyNativeMethod(params).CastTask<JavaList<TYPE>>();
 public async Task <IList <MLSceneDetection> > AnalyseFrameAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame) =>
 await AsyncAnalyseFrame(frame).CastTask <JavaList <MLSceneDetection> >();
 //async Task<NAME> MyMethod(params) => await MyNativeMethod(params).CastTask<NAME>();
 public async Task <MLText> AnalyseFrameAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame) =>
 await AsyncAnalyseFrame(frame).CastTask <MLText>();
 //async Task<IList<TYPE>> MyMethod(params) => await MyNativeMethod(params).CastTask<JavaList<TYPE>>();
 public async Task <IList <MLImageClassification> > AnalyseFrameAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame) =>
 await AsyncAnalyseFrame(frame).CastTask <JavaList <MLImageClassification> >();
 //async Task<IList<TYPE>> MyMethod(params) => await MyNativeMethod(params).CastTask<JavaList<TYPE>>();
 public async Task <IList <MLRemoteLandmark> > AnalyseFrameAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame) =>
 await AsyncAnalyseFrame(frame).CastTask <JavaList <MLRemoteLandmark> >();
 //async Task<IList<TYPE>> MyMethod(params) => await MyNativeMethod(params).CastTask<JavaList<TYPE>>();
 public async Task <IList <MLProductVisionSearch> > AnalyseFrameAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame) =>
 await AsyncAnalyseFrame(frame).CastTask <JavaList <MLProductVisionSearch> >();
 //async Task<NAME> MyMethod(params) => await MyNativeMethod(params).CastTask<NAME>();
 public async Task <MLImageSegmentation> AnalyseFrameAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame) =>
 await AsyncAnalyseFrame(frame).CastTask <MLImageSegmentation>();
 //async Task<NAME> MyMethod(params) => await MyNativeMethod(params).CastTask<NAME>();
 public async Task <MLDocumentSkewDetectResult> DocumentSkewDetectAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame) =>
 await AsyncDocumentSkewDetect(frame).CastTask <MLDocumentSkewDetectResult>();
 //async Task<NAME> MyMethod(params) => await MyNativeMethod(params).CastTask<NAME>();
 public async Task <MLDocumentSkewCorrectionResult> DocumentSkewCorrectAsync(Huawei.Hms.Mlsdk.Common.MLFrame frame, Huawei.Hms.Mlsdk.Dsc.MLDocumentSkewCorrectionCoordinateInput coordinateInput) =>
 await AsyncDocumentSkewCorrect(frame, coordinateInput).CastTask <MLDocumentSkewCorrectionResult>();