Method Create
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
Create(string, MaaResource)
Creates a MaaFramework.Binding.MaaAgentClient instance.
public static MaaAgentClient Create(string identifier, MaaResource resource)Parameters
identifierstring-
The unique identifier used to communicate with the agent server.
resourceMaaResource-
The resource.
Returns
- MaaAgentClient
-
The MaaFramework.Binding.MaaAgentClient instance.
Create(MaaResource)
Creates a MaaFramework.Binding.MaaAgentClient instance.
public static MaaAgentClient Create(MaaResource resource)Parameters
resourceMaaResource-
The resource.
Returns
- MaaAgentClient
-
The MaaFramework.Binding.MaaAgentClient instance.
Create(string, MaaTasker)
Creates a MaaFramework.Binding.MaaAgentClient instance, the callback (from tasker, resource and controller) will be forwarded to the agent server.
public static MaaAgentClient Create(string identifier, MaaTasker maa)Parameters
identifierstring-
The unique identifier used to communicate with the agent server.
maaMaaTasker-
The tasker inclued resource and controller.
Returns
- MaaAgentClient
-
The MaaFramework.Binding.MaaAgentClient instance.
Create(MaaTasker)
Creates a MaaFramework.Binding.MaaAgentClient instance, the callback (from tasker, resource and controller) will be forwarded to the agent server.
public static MaaAgentClient Create(MaaTasker maa)Parameters
maaMaaTasker-
The tasker inclued resource and controller.
Returns
- MaaAgentClient
-
The MaaFramework.Binding.MaaAgentClient instance.