Constructor MaaDbgController
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
MaaDbgController(string, string, DbgControllerType, string, LinkOption, CheckStatusOption)
Creates a MaaFramework.Binding.MaaDbgController instance.
public MaaDbgController(string readPath, string writePath, DbgControllerType type, string config = "{}", LinkOption link = LinkOption.Start, CheckStatusOption check = CheckStatusOption.ThrowIfNotSucceeded)
Parameters
readPath
string-
The read path.
writePath
string-
The write path.
type
DbgControllerType-
The DebugControllerType.
config
string-
The config.
link
LinkOption-
Executes MaaFramework.Binding.IMaaController.LinkStart if MaaFramework.Binding.LinkOption.Start; otherwise, not link.
check
CheckStatusOption-
Checks LinkStart().Wait() status if MaaFramework.Binding.CheckStatusOption.ThrowIfNotSucceeded; otherwise, not check.
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaController.MaaDbgControllerCreate(System.String,System.String,System.UInt64,System.String,MaaFramework.Binding.Interop.Native.MaaNotificationCallback,System.IntPtr).