Documentation ¶
Index ¶
- type MprisHandler
- func (mh *MprisHandler) CanControl() (bool, error)
- func (mh *MprisHandler) CanGoNext() (bool, error)
- func (mh *MprisHandler) CanGoPrevious() (bool, error)
- func (mh *MprisHandler) CanPause() (bool, error)
- func (mh *MprisHandler) CanPlay() (bool, error)
- func (mh *MprisHandler) CanQuit() (bool, error)
- func (mh *MprisHandler) CanRaise() (bool, error)
- func (mh *MprisHandler) CanSeek() (bool, error)
- func (mh *MprisHandler) Disable() error
- func (mh *MprisHandler) Enable() error
- func (mh *MprisHandler) HasTrackList() (bool, error)
- func (mh *MprisHandler) Identity() (string, error)
- func (mh *MprisHandler) MaximumRate() (float64, error)
- func (mh *MprisHandler) Message() <-chan handler.Message
- func (mh *MprisHandler) Metadata() (md types.Metadata, err error)
- func (mh *MprisHandler) MinimumRate() (float64, error)
- func (mh *MprisHandler) Next() error
- func (mh *MprisHandler) OnEnded()
- func (mh *MprisHandler) OnPlayPause()
- func (mh *MprisHandler) OnPlayback()
- func (mh *MprisHandler) OnSeek(position time.Duration)
- func (mh *MprisHandler) OnVolume()
- func (mh *MprisHandler) OpenUri(uri string) error
- func (mh *MprisHandler) Pause() error
- func (mh *MprisHandler) Play() error
- func (mh *MprisHandler) PlayPause() error
- func (mh *MprisHandler) PlaybackStatus() (types.PlaybackStatus, error)
- func (mh *MprisHandler) Position() (int64, error)
- func (mh *MprisHandler) Previous() error
- func (mh *MprisHandler) Quit() error
- func (mh *MprisHandler) Raise() error
- func (mh *MprisHandler) Rate() (float64, error)
- func (mh *MprisHandler) Seek(offset types.Microseconds) error
- func (mh *MprisHandler) SendAnswer(ans any)
- func (mh *MprisHandler) SetPosition(trackId string, position types.Microseconds) error
- func (mh *MprisHandler) SetRate(float64) error
- func (mh *MprisHandler) SetVolume(vol float64) error
- func (mh *MprisHandler) Stop() error
- func (mh *MprisHandler) SupportedMimeTypes() ([]string, error)
- func (mh *MprisHandler) SupportedUriSchemes() ([]string, error)
- func (mh *MprisHandler) Volume() (float64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MprisHandler ¶
type MprisHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(name, description string) *MprisHandler
func (*MprisHandler) CanControl ¶
func (mh *MprisHandler) CanControl() (bool, error)
func (*MprisHandler) CanGoNext ¶
func (mh *MprisHandler) CanGoNext() (bool, error)
func (*MprisHandler) CanGoPrevious ¶
func (mh *MprisHandler) CanGoPrevious() (bool, error)
func (*MprisHandler) CanPause ¶
func (mh *MprisHandler) CanPause() (bool, error)
func (*MprisHandler) CanPlay ¶
func (mh *MprisHandler) CanPlay() (bool, error)
func (*MprisHandler) CanQuit ¶
func (mh *MprisHandler) CanQuit() (bool, error)
func (*MprisHandler) CanRaise ¶
func (mh *MprisHandler) CanRaise() (bool, error)
func (*MprisHandler) CanSeek ¶
func (mh *MprisHandler) CanSeek() (bool, error)
func (*MprisHandler) Disable ¶
func (mh *MprisHandler) Disable() error
func (*MprisHandler) Enable ¶
func (mh *MprisHandler) Enable() error
func (*MprisHandler) HasTrackList ¶
func (mh *MprisHandler) HasTrackList() (bool, error)
func (*MprisHandler) Identity ¶
func (mh *MprisHandler) Identity() (string, error)
func (*MprisHandler) MaximumRate ¶
func (mh *MprisHandler) MaximumRate() (float64, error)
func (*MprisHandler) Message ¶
func (mh *MprisHandler) Message() <-chan handler.Message
func (*MprisHandler) MinimumRate ¶
func (mh *MprisHandler) MinimumRate() (float64, error)
func (*MprisHandler) Next ¶
func (mh *MprisHandler) Next() error
func (*MprisHandler) OnEnded ¶
func (mh *MprisHandler) OnEnded()
func (*MprisHandler) OnPlayPause ¶
func (mh *MprisHandler) OnPlayPause()
func (*MprisHandler) OnPlayback ¶
func (mh *MprisHandler) OnPlayback()
func (*MprisHandler) OnSeek ¶
func (mh *MprisHandler) OnSeek(position time.Duration)
func (*MprisHandler) OnVolume ¶
func (mh *MprisHandler) OnVolume()
func (*MprisHandler) OpenUri ¶
func (mh *MprisHandler) OpenUri(uri string) error
func (*MprisHandler) Pause ¶
func (mh *MprisHandler) Pause() error
func (*MprisHandler) Play ¶
func (mh *MprisHandler) Play() error
func (*MprisHandler) PlayPause ¶
func (mh *MprisHandler) PlayPause() error
func (*MprisHandler) PlaybackStatus ¶
func (mh *MprisHandler) PlaybackStatus() (types.PlaybackStatus, error)
func (*MprisHandler) Position ¶
func (mh *MprisHandler) Position() (int64, error)
func (*MprisHandler) Previous ¶
func (mh *MprisHandler) Previous() error
func (*MprisHandler) Quit ¶
func (mh *MprisHandler) Quit() error
func (*MprisHandler) Raise ¶
func (mh *MprisHandler) Raise() error
func (*MprisHandler) Rate ¶
func (mh *MprisHandler) Rate() (float64, error)
func (*MprisHandler) Seek ¶
func (mh *MprisHandler) Seek(offset types.Microseconds) error
func (*MprisHandler) SendAnswer ¶
func (mh *MprisHandler) SendAnswer(ans any)
func (*MprisHandler) SetPosition ¶
func (mh *MprisHandler) SetPosition(trackId string, position types.Microseconds) error
func (*MprisHandler) SetRate ¶
func (mh *MprisHandler) SetRate(float64) error
func (*MprisHandler) SetVolume ¶
func (mh *MprisHandler) SetVolume(vol float64) error
func (*MprisHandler) Stop ¶
func (mh *MprisHandler) Stop() error
func (*MprisHandler) SupportedMimeTypes ¶
func (mh *MprisHandler) SupportedMimeTypes() ([]string, error)
func (*MprisHandler) SupportedUriSchemes ¶
func (mh *MprisHandler) SupportedUriSchemes() ([]string, error)
func (*MprisHandler) Volume ¶
func (mh *MprisHandler) Volume() (float64, error)
Click to show internal directories.
Click to hide internal directories.