Table of Contents

Interface IMaaController

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

An interface defining wrapped members for MaaController.

public interface IMaaController : IMaaCommon, IMaaOption<ControllerOption>, IMaaPost, IMaaDisposable, IDisposable

Implements

Extension Methods

Properties

IsConnected

Gets whether the MaaFramework.Binding.IMaaController is connected to the device specified by the constructor.

Uuid

Gets the uuid string of the MaaFramework.Binding.IMaaController.

Methods

Click(int, int)

Clicks a point.

GetCachedImage(IMaaImageBuffer)

Gets the cached image.

InputText(string)

Inputs a text.

LinkStart()

Connects the device specified by the constructor.

PressKey(int)

Presses a key.

Screencap()

Takes a screenshot.

StartApp(string)

Starts an app.

StopApp(string)

Stops an app.

Swipe(int, int, int, int, int)

Swipes from a starting point to an ending point with duration.

TouchDown(int, int, int, int)

Usage: TouchDown -> TouchMove -> TouchUp.

TouchMove(int, int, int, int)

Usage: TouchDown -> TouchMove -> TouchUp.

TouchUp(int)

Usage: TouchDown -> TouchMove -> TouchUp.