Table of Contents

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

identifier string

The unique identifier used to communicate with the agent server.

resource MaaResource

The resource.

Returns

MaaAgentClient

The MaaFramework.Binding.MaaAgentClient instance.

Create(MaaResource)

Creates a MaaFramework.Binding.MaaAgentClient instance.

public static MaaAgentClient Create(MaaResource resource)

Parameters

resource MaaResource

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

identifier string

The unique identifier used to communicate with the agent server.

maa MaaTasker

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

maa MaaTasker

The tasker inclued resource and controller.

Returns

MaaAgentClient

The MaaFramework.Binding.MaaAgentClient instance.