Table of Contents

Constructor AdbDeviceInfo

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

AdbDeviceInfo(string, string, string, AdbScreencapMethods, AdbInputMethods, string, string)

A record providing properties of adb device information.

public AdbDeviceInfo(string Name, string AdbPath, string AdbSerial, AdbScreencapMethods ScreencapMethods, AdbInputMethods InputMethods, string Config, string AgentPath = "./MaaAgentBinary")

Parameters

Name string

Gets the name of a device.

AdbPath string

Gets the path of an adb that a device connected to.

AdbSerial string

Gets the adb serial of a device.

ScreencapMethods AdbScreencapMethods

Gets the MaaFramework.Binding.AdbScreencapMethods of a device.

InputMethods AdbInputMethods

Gets the MaaFramework.Binding.AdbInputMethods of a device.

Config string

Gets the config of a device.

AgentPath string

The path of agent directory. Default is "./MaaAgentBinary" if package "Maa.Framework" or "Maa.AgentBinary" is used.