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
resourceIMaaCustomAction-
The custom action.
callbackMaaCustomActionCallback-
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
resourceIMaaCustomRecognition-
The custom recognition.
callbackMaaCustomRecognitionCallback
Returns
Exceptions
- InvalidOperationException
-
Failed to query detail.