screenshotr

package
v1.0.121 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 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