notificationproxy

package
v1.0.163 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitUntilSpringboardStarted

func WaitUntilSpringboardStarted(device ios.DeviceEntry) error

WaitUntilSpringboardStarted waits up to 5 minutes for springboard to restart

Types

type Connection

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

func New

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

func (*Connection) Close

func (c *Connection) Close()

Close sends a Shutdown command to notification proxy and closes the DeviceConnectionInterface

func (*Connection) Observe

func (c *Connection) Observe(notification string, timeout time.Duration) error

Observe waits for a notification up to a timeout. Currently supports only one listener per notification

Jump to

Keyboard shortcuts

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