adb

package
v0.0.0-...-0dfc98a Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdbSerialNumber

func GetAdbSerialNumber() (string, error)

func GetVersion

func GetVersion() string

func HandleErr

func HandleErr(err error)

func IsOn

func IsOn() bool

func MakeScreenshot

func MakeScreenshot() image.Image

func StoreImage

func StoreImage(img image.Image, filename string)

func Swipe

func Swipe(msDuration int)

Types

type ScreenResolution

type ScreenResolution struct {
	Width  int
	Height int
}

func GetScreenResolution

func GetScreenResolution() ScreenResolution

func (ScreenResolution) String

func (s ScreenResolution) String() string

Jump to

Keyboard shortcuts

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