screenshotr

package
v1.0.31 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	// contains filtered or unexported fields
}

Connection exposes the LogReader channel which send the LogMessages as strings.

func New

func New(device ios.DeviceEntry) (*Connection, error)

New returns a new SysLog Connection for the given DeviceID and Udid It will create LogReader as a buffered Channel because Syslog is very verbose.

func (*Connection) Close

func (screenShotrConn *Connection) Close()

Close closes the underlying DeviceConnection

func (*Connection) TakeScreenshot

func (screenShotrConn *Connection) TakeScreenshot() ([]uint8, error)

TakeScreenshot uses Screenshotr to get a screenshot as a byteslice

Jump to

Keyboard shortcuts

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