Method Convert
- Namespace
- MaaFramework.Binding.Interop.Native
- Assembly
- MaaFramework.Binding.Native.dll
Convert(IMaaCustomAction, out MaaCustomActionCallback)
Converts a MaaFramework.Binding.Custom.IMaaCustomAction to a MaaFramework.Binding.Interop.Native.MaaCustomActionCallback.
public static MaaCustomActionCallback Convert(this IMaaCustomAction resource, out MaaCustomActionCallback callback)
Parameters
resource
IMaaCustomAction-
The custom action.
callback
MaaCustomActionCallback-
The callback.
Returns
- MaaCustomActionCallback
-
The callback.
Exceptions
- MaaInteroperationException
-
Failed to query detail.
Convert(IMaaCustomRecognition, out MaaCustomRecognitionCallback)
Converts a MaaFramework.Binding.Custom.IMaaCustomRecognition to a MaaFramework.Binding.Interop.Native.MaaCustomRecognitionCallback.
public static MaaCustomRecognitionCallback Convert(this IMaaCustomRecognition resource, out MaaCustomRecognitionCallback callback)
Parameters
resource
IMaaCustomRecognition-
The custom recognition.
callback
MaaCustomRecognitionCallback
Returns
Exceptions
- InvalidOperationException
-
Failed to query detail.