screenshotr

package
v1.0.127 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartStreamingServer added in v1.0.96

func StartStreamingServer(device ios.DeviceEntry, port string) error

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() error

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