event

package
v0.0.0-...-9423480 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiEvent

type ApiEvent struct {
	//	ResponseWriter http.ResponseWriter
	//	Request        *http.Request
	Result chan error
	Data   interface{}
}

Api

type ApiEventAudioVolumeData

type ApiEventAudioVolumeData struct {
	Volume int64
}

type ApiEventPlaylistPlayData

type ApiEventPlaylistPlayData struct {
	PlaylistId apimodel.PlaylistId
}

type ApiEventWebradioPlayData

type ApiEventWebradioPlayData struct {
	WebradioId apimodel.WebradioId
}

type ButtonEvent

type ButtonEvent struct {
	ButtonId        ButtonId
	ButtonEventType ButtonEventType
	PressStepCount  int64
}

type ButtonEventType

type ButtonEventType int
const (
	PRESS_EVENT_TYPE ButtonEventType = iota
	RELEASE_EVENT_TYPE
)

type ButtonId

type ButtonId int

Buttons

const (
	DIGIT1_BUTTON ButtonId = iota
	DIGIT2_BUTTON
	DIGIT3_BUTTON
	DIGIT4_BUTTON
	DIGIT5_BUTTON
	DIGIT6_BUTTON
	PLAYLIST_BUTTON
	ALARM_SETTING_BUTTON
	MORE_BUTTON
	LESS_BUTTON
	SNOOZE_BUTTON
	NEXT_POWEROFF_BUTTON
)

type InternalEvent

type InternalEvent struct {
	Data interface{}
}

PopUp

type InternalEventAnimationTickData

type InternalEventAnimationTickData struct{}

type InternalEventPopupHideData

type InternalEventPopupHideData struct{}

type PlaylistEvent

type PlaylistEvent struct {
	ResponseWriter http.ResponseWriter
	Data           interface{}
}

Playlist

type PlaylistEventPlayingSongData

type PlaylistEventPlayingSongData struct{}

type TickerEvent

type TickerEvent struct {
	Data interface{}
}

Ticker

type TickerEventAlarmData

type TickerEventAlarmData struct{}

type TickerEventTickData

type TickerEventTickData struct{}

type WebradioEvent

type WebradioEvent struct {
	ResponseWriter http.ResponseWriter
	Data           interface{}
}

Webradio

type WebradioEventStopPlayingData

type WebradioEventStopPlayingData struct{}

Jump to

Keyboard shortcuts

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