Table of Contents

Constructor MaaResource

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.Native.dll

MaaResource()

Creates a MaaFramework.Binding.MaaResource instance.

public MaaResource()

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceCreate(MaaFramework.Binding.Interop.Native.MaaNotificationCallback,System.IntPtr).

MaaResource(params string[])

Creates a MaaFramework.Binding.MaaResource instance.

public MaaResource(params string[] bundlePaths)

Parameters

bundlePaths string[]

The paths of maa bundle.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceCreate(MaaFramework.Binding.Interop.Native.MaaNotificationCallback,System.IntPtr).

Exceptions

ArgumentNullException
MaaJobStatusException

MaaResource(CheckStatusOption, params string[])

Creates a MaaFramework.Binding.MaaResource instance.

public MaaResource(CheckStatusOption check, params string[] bundlePaths)

Parameters

check CheckStatusOption

Checks AppendBundle(bundlePath).Wait() status if is MaaFramework.Binding.CheckStatusOption.ThrowIfNotSucceeded; otherwise, not checks.

bundlePaths string[]

The paths of maa bundle.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceCreate(MaaFramework.Binding.Interop.Native.MaaNotificationCallback,System.IntPtr).

Exceptions

ArgumentNullException
MaaJobStatusException

MaaResource(IEnumerable<string>)

Creates a MaaFramework.Binding.MaaResource instance.

public MaaResource(IEnumerable<string> bundlePaths)

Parameters

bundlePaths IEnumerable<string>

The paths of maa bundle.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceCreate(MaaFramework.Binding.Interop.Native.MaaNotificationCallback,System.IntPtr).

Exceptions

ArgumentNullException
MaaJobStatusException

MaaResource(CheckStatusOption, IEnumerable<string>)

Creates a MaaFramework.Binding.MaaResource instance.

public MaaResource(CheckStatusOption check, IEnumerable<string> bundlePaths)

Parameters

check CheckStatusOption

Checks AppendBundle(bundlePath).Wait() status if is MaaFramework.Binding.CheckStatusOption.ThrowIfNotSucceeded; otherwise, not checks.

bundlePaths IEnumerable<string>

The paths of maa bundle.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaResource.MaaResourceCreate(MaaFramework.Binding.Interop.Native.MaaNotificationCallback,System.IntPtr).

Exceptions

ArgumentNullException
MaaJobStatusException