Method RunRecognition
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
RunRecognition(string, string, IMaaImageBuffer)
Run a recognition.
public RecognitionDetail? RunRecognition(string entry, string recognitionOverride, IMaaImageBuffer image)
Parameters
entry
string-
The recognition entry name.
recognitionOverride
string-
The json used to override the recognition.
image
IMaaImageBuffer-
The image to be recognized.
Returns
- RecognitionDetail?
-
MaaFramework.Binding.RecognitionDetail if the operation was executed successfully; otherwise, null.
Exceptions
RunRecognition(string, string, IMaaImageBuffer<nint>)
Run a recognition.
public RecognitionDetail? RunRecognition(string entry, string recognitionOverride, IMaaImageBuffer<nint> image)
Parameters
entry
string-
The recognition entry name.
recognitionOverride
string-
The json used to override the recognition.
image
IMaaImageBuffer<nint>-
The image to be recognized.
Returns
- RecognitionDetail?
-
MaaFramework.Binding.RecognitionDetail if the operation was executed successfully; otherwise, null.
Exceptions
RunRecognition(string, string, MaaImageBuffer)
Run a recognition.
public RecognitionDetail? RunRecognition(string entry, string recognitionOverride, MaaImageBuffer image)
Parameters
entry
string-
The recognition entry name.
recognitionOverride
string-
The json used to override the recognition.
image
MaaImageBuffer-
The image to be recognized.
Returns
- RecognitionDetail?
-
MaaFramework.Binding.RecognitionDetail if the operation was executed successfully; otherwise, null.
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaContext.MaaContextRunRecognition(System.IntPtr,System.String,System.String,System.IntPtr).