Documentation ¶
Index ¶
- 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 GetPresetResponse ¶
type Reciva ¶ added in v0.10.1
type Reciva struct {
// contains filtered or unexported fields
}
func (*Reciva) GetAudioSources ¶ added in v0.10.1
func (*Reciva) GetEventURL ¶ added in v0.10.1
func (*Reciva) GetModelName ¶ added in v0.10.1
func (*Reciva) GetModelNumber ¶ added in v0.10.1
func (*Reciva) GetNumberOfPresets ¶ added in v0.10.1
func (*Reciva) PlayPreset ¶ added in v0.10.1
func (*Reciva) SetAudioSource ¶ added in v0.10.1
func (*Reciva) SetPowerState ¶ added in v0.10.1
Click to show internal directories.
Click to hide internal directories.