Table of Contents

Method SetOption_Recording Deprecated

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

SetOption_Recording(IMaaOption<ControllerOption>?, bool) Deprecated

Sets value to an option.

[Obsolete("Deprecated from v4.5.0.")]
public static bool SetOption_Recording(this IMaaOption<ControllerOption>? opt, bool value)

Parameters

opt IMaaOption<ControllerOption>?

The option.

value bool

The value.

Returns

bool

true if the option was set successfully; otherwise, false.

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.

SetOption_Recording(IMaaOption<GlobalOption>?, bool) Deprecated

Sets value to an option.

[Obsolete("Deprecated from v4.5.0.")]
public static bool SetOption_Recording(this IMaaOption<GlobalOption>? opt, bool value)

Parameters

opt IMaaOption<GlobalOption>?

The option.

value bool

The value.

Returns

bool

true if the option was set successfully; otherwise, false.

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.