toolkit

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2024 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindWindow

func FindWindow(className, windowName string) uint64

func GetCursorWindow

func GetCursorWindow() unsafe.Pointer

func GetDesktopWindow

func GetDesktopWindow() unsafe.Pointer

func GetDeviceAdbConfig

func GetDeviceAdbConfig(index uint64) string

func GetDeviceAdbControllerType

func GetDeviceAdbControllerType(index uint64) maa.AdbControllerType

func GetDeviceAdbPath

func GetDeviceAdbPath(index uint64) string

func GetDeviceAdbSerial

func GetDeviceAdbSerial(index uint64) string

func GetDeviceCount

func GetDeviceCount() uint64

func GetDeviceName

func GetDeviceName(index uint64) string

func GetForegroundWindow

func GetForegroundWindow() unsafe.Pointer

func GetWindow

func GetWindow(index uint64) unsafe.Pointer

func GetWindowClassName

func GetWindowClassName(hwnd unsafe.Pointer) (string, bool)

func GetWindowWindowName

func GetWindowWindowName(hwnd unsafe.Pointer) (string, bool)

func InitOption

func InitOption(userPath, defaultJson string) bool

func IsFindDeviceCompleted

func IsFindDeviceCompleted() bool

func ListWindows

func ListWindows() uint64

func PostFindDevice

func PostFindDevice() bool

func PostFindDeviceWithAdb

func PostFindDeviceWithAdb(adbPath string) bool

func SearchWindow

func SearchWindow(className, windowName string) uint64

func WaitForFindDeviceToComplete

func WaitForFindDeviceToComplete() uint64

Types

type AdbDevice

type AdbDevice struct {
	Name           string
	AdbPath        string
	Address        string
	ControllerType maa.AdbControllerType
	Config         string
}

func AdbDevices

func AdbDevices() []AdbDevice

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL