tvmanager

package
v0.0.0-...-2251c5c Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppIdYoutube   = "youtube.leanback.v4"
	AppIdTwitch    = "tv.twitch.tv.starshot.lg"
	AppIdNetflix   = "netflix"
	AppIdPrime     = "amazon"
	AppIdAppleTV   = "com.apple.appletv"
	AppIdAppleDAZN = "dazn"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TVManager

type TVManager struct {
	Connecting    bool
	ConnectionErr error
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config) *TVManager

func (*TVManager) ClickPointer

func (m *TVManager) ClickPointer() error

func (*TVManager) Close

func (m *TVManager) Close() error

func (*TVManager) Connected

func (m *TVManager) Connected() bool

func (*TVManager) DialPointerSocket

func (m *TVManager) DialPointerSocket() error

func (*TVManager) LaunchApp

func (m *TVManager) LaunchApp(id string) error

func (*TVManager) Mute

func (m *TVManager) Mute() error

func (*TVManager) OpenInfo

func (m *TVManager) OpenInfo() error

func (*TVManager) OpenSettings

func (m *TVManager) OpenSettings() error

func (*TVManager) OpenYoutubeURL

func (m *TVManager) OpenYoutubeURL(u string) error

func (*TVManager) PauseMedia

func (m *TVManager) PauseMedia() error

func (*TVManager) PlayMedia

func (m *TVManager) PlayMedia() error

func (*TVManager) PowerOff

func (m *TVManager) PowerOff() error

func (*TVManager) PowerOn

func (m *TVManager) PowerOn() error

func (*TVManager) PressButton

func (m *TVManager) PressButton(button string) error

func (*TVManager) Start

func (m *TVManager) Start()

func (*TVManager) SwitchInput

func (m *TVManager) SwitchInput(id string) error

func (*TVManager) TryConnect

func (m *TVManager) TryConnect()

func (*TVManager) Unmute

func (m *TVManager) Unmute() error

func (*TVManager) UpdatePointerPos

func (m *TVManager) UpdatePointerPos(pos image.Point) error

func (*TVManager) VolDown

func (m *TVManager) VolDown() error

func (*TVManager) VolUp

func (m *TVManager) VolUp() error

Jump to

Keyboard shortcuts

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