win

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlayState

type PlayState int
const (
	PLAY_CLOSED  PlayState = -1
	PLAY_STOPED  PlayState = 0
	PLAY_PAUSED  PlayState = 1
	PLAY_PLAYING PlayState = 2
)

type WinHandler

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

func NewHandler

func NewHandler(name, description string) *WinHandler

func (*WinHandler) Disable

func (wh *WinHandler) Disable() error

func (*WinHandler) Enable

func (wh *WinHandler) Enable() error

func (*WinHandler) Message

func (wh *WinHandler) Message() <-chan handler.Message

func (*WinHandler) OnEnded

func (wh *WinHandler) OnEnded()

func (*WinHandler) OnPlayPause

func (wh *WinHandler) OnPlayPause()

func (*WinHandler) OnPlayback

func (wh *WinHandler) OnPlayback()

func (*WinHandler) OnSeek

func (wh *WinHandler) OnSeek(position time.Duration)

func (*WinHandler) OnVolume

func (wh *WinHandler) OnVolume()

func (*WinHandler) SendAnswer

func (wh *WinHandler) SendAnswer(ans any)

Jump to

Keyboard shortcuts

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