unityeditor

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const ConnectionTimeout = 60 * time.Minute
View Source
const (
	Manager = "unity_editor"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	generic.Device
	// contains filtered or unexported fields
}

func (*Device) ConnectionTimeout

func (d *Device) ConnectionTimeout() time.Duration

func (*Device) DeviceID

func (d *Device) DeviceID() string

func (*Device) DeviceIP

func (d *Device) DeviceIP() net.IP

func (*Device) DeviceModel

func (d *Device) DeviceModel() string

func (*Device) DeviceName

func (d *Device) DeviceName() string

func (*Device) DeviceOSName

func (d *Device) DeviceOSName() string

func (*Device) DeviceOSVersion

func (d *Device) DeviceOSVersion() string

func (*Device) DeviceState

func (d *Device) DeviceState() device.State

func (*Device) Execute

func (d *Device) Execute(string)

func (*Device) GetScreenshot

func (d *Device) GetScreenshot() ([]byte, int, int, error)

func (*Device) HandleSocketFunction

func (d *Device) HandleSocketFunction()

func (*Device) HasFeature

func (d *Device) HasFeature(string) bool

func (*Device) InstallApp

func (d *Device) InstallApp(params *app.Parameter) error

func (*Device) IsAppConnected

func (d *Device) IsAppConnected() bool

func (*Device) IsAppInstalled

func (d *Device) IsAppInstalled(params *app.Parameter) (bool, error)

func (*Device) RunNativeScript

func (d *Device) RunNativeScript(script []byte)

func (*Device) SetDeviceState

func (d *Device) SetDeviceState(state string)

func (*Device) StartApp

func (d *Device) StartApp(params *app.Parameter, sessionId string, hostIP net.IP) error

func (*Device) StartRecording

func (d *Device) StartRecording(path string) error

func (*Device) StopApp

func (d *Device) StopApp(params *app.Parameter) error

func (*Device) StopRecording

func (d *Device) StopRecording() error

func (*Device) UninstallApp

func (d *Device) UninstallApp(params *app.Parameter) error

func (*Device) UpdateDeviceInfos

func (d *Device) UpdateDeviceInfos() error

type Handler

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

func NewHandler

func NewHandler(ds storage.Device, ip net.IP) *Handler

func (*Handler) GetDevices

func (m *Handler) GetDevices() ([]device.Device, error)

func (*Handler) HasDevice

func (m *Handler) HasDevice(dev device.Device) bool

func (*Handler) Init

func (m *Handler) Init() error

func (*Handler) Name

func (m *Handler) Name() string

func (*Handler) RefreshDevices

func (m *Handler) RefreshDevices() error

func (*Handler) RegisterDevice

func (m *Handler) RegisterDevice(data device.RegisterData) (device.Device, error)

func (*Handler) Start

func (m *Handler) Start() error

func (*Handler) StartDevice

func (m *Handler) StartDevice(deviceID string) error

func (*Handler) Stop

func (m *Handler) Stop() error

func (*Handler) StopDevice

func (m *Handler) StopDevice(deviceID string) error

Jump to

Keyboard shortcuts

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