Documentation
¶
Index ¶
- type BackgroundControlPoint
- type GetPresetResponse
- type Reciva
- func (r *Reciva) GetAudioSources(ctx context.Context) ([]string, error)
- func (r *Reciva) GetEventURL() url.URL
- func (r *Reciva) GetModelName() string
- func (r *Reciva) GetModelNumber() string
- func (r *Reciva) GetName() string
- func (r *Reciva) GetNumberOfPresets(ctx context.Context) (int, error)
- func (r *Reciva) GetPreset(ctx context.Context, num int) (*GetPresetResponse, error)
- func (r *Reciva) GetUUID() (string, error)
- func (r *Reciva) GetVolume(ctx context.Context) (int, error)
- func (r *Reciva) PlayPreset(ctx context.Context, preset int) error
- func (r *Reciva) SetAudioSource(ctx context.Context, audioSource string) error
- func (r *Reciva) SetPowerState(ctx context.Context, power bool) error
- func (r *Reciva) SetVolume(ctx context.Context, volume int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackgroundControlPoint ¶
type BackgroundControlPoint struct {
// contains filtered or unexported fields
}
func NewBackgroundControlPoint ¶
func NewBackgroundControlPoint(controlPoint upnpsub.ControlPoint) *BackgroundControlPoint
func (*BackgroundControlPoint) Background ¶
func (bcp *BackgroundControlPoint) Background(ctx context.Context, doneC chan<- struct{})
type GetPresetResponse ¶
type Reciva ¶
type Reciva struct {
// contains filtered or unexported fields
}
func (*Reciva) GetAudioSources ¶
func (*Reciva) GetEventURL ¶
func (*Reciva) GetModelName ¶
func (*Reciva) GetModelNumber ¶
func (*Reciva) GetNumberOfPresets ¶
func (*Reciva) SetAudioSource ¶
func (*Reciva) SetPowerState ¶
Click to show internal directories.
Click to hide internal directories.