Documentation ¶
Overview ¶
Package renderingcontrol is a generated RenderingControl package.
Index ¶
- Constants
- type GetBassArgs
- type GetBassResponse
- type GetEQArgs
- type GetEQResponse
- type GetHeadphoneConnectedArgs
- type GetHeadphoneConnectedResponse
- type GetLoudnessArgs
- type GetLoudnessResponse
- type GetMuteArgs
- type GetMuteResponse
- type GetOutputFixedArgs
- type GetOutputFixedResponse
- type GetRoomCalibrationStatusArgs
- type GetRoomCalibrationStatusResponse
- type GetSupportsOutputFixedArgs
- type GetSupportsOutputFixedResponse
- type GetTrebleArgs
- type GetTrebleResponse
- type GetVolumeArgs
- type GetVolumeDBArgs
- type GetVolumeDBRangeArgs
- type GetVolumeDBRangeResponse
- type GetVolumeDBResponse
- type GetVolumeResponse
- type LastChange
- type Property
- type RampToVolumeArgs
- type RampToVolumeResponse
- type ResetBasicEQArgs
- type ResetBasicEQResponse
- type ResetExtEQArgs
- type ResetExtEQResponse
- type RestoreVolumePriorToRampArgs
- type RestoreVolumePriorToRampResponse
- type Service
- func (s *Service) Client() *http.Client
- func (s *Service) ControlEndpoint() *url.URL
- func (s *Service) EventEndpoint() *url.URL
- func (s *Service) GetBass(args *GetBassArgs) (*GetBassResponse, error)
- func (s *Service) GetEQ(args *GetEQArgs) (*GetEQResponse, error)
- func (s *Service) GetHeadphoneConnected(args *GetHeadphoneConnectedArgs) (*GetHeadphoneConnectedResponse, error)
- func (s *Service) GetLoudness(args *GetLoudnessArgs) (*GetLoudnessResponse, error)
- func (s *Service) GetMute(args *GetMuteArgs) (*GetMuteResponse, error)
- func (s *Service) GetOutputFixed(args *GetOutputFixedArgs) (*GetOutputFixedResponse, error)
- func (s *Service) GetRoomCalibrationStatus(args *GetRoomCalibrationStatusArgs) (*GetRoomCalibrationStatusResponse, error)
- func (s *Service) GetSupportsOutputFixed(args *GetSupportsOutputFixedArgs) (*GetSupportsOutputFixedResponse, error)
- func (s *Service) GetTreble(args *GetTrebleArgs) (*GetTrebleResponse, error)
- func (s *Service) GetVolume(args *GetVolumeArgs) (*GetVolumeResponse, error)
- func (s *Service) GetVolumeDB(args *GetVolumeDBArgs) (*GetVolumeDBResponse, error)
- func (s *Service) GetVolumeDBRange(args *GetVolumeDBRangeArgs) (*GetVolumeDBRangeResponse, error)
- func (s *Service) Location() *url.URL
- func (zp *Service) ParseEvent(body []byte) []interface{}
- func (s *Service) RampToVolume(args *RampToVolumeArgs) (*RampToVolumeResponse, error)
- func (s *Service) ResetBasicEQ(args *ResetBasicEQArgs) (*ResetBasicEQResponse, error)
- func (s *Service) ResetExtEQ(args *ResetExtEQArgs) (*ResetExtEQResponse, error)
- func (s *Service) RestoreVolumePriorToRamp(args *RestoreVolumePriorToRampArgs) (*RestoreVolumePriorToRampResponse, error)
- func (s *Service) SetBass(args *SetBassArgs) (*SetBassResponse, error)
- func (s *Service) SetChannelMap(args *SetChannelMapArgs) (*SetChannelMapResponse, error)
- func (s *Service) SetEQ(args *SetEQArgs) (*SetEQResponse, error)
- func (s *Service) SetLoudness(args *SetLoudnessArgs) (*SetLoudnessResponse, error)
- func (s *Service) SetMute(args *SetMuteArgs) (*SetMuteResponse, error)
- func (s *Service) SetOutputFixed(args *SetOutputFixedArgs) (*SetOutputFixedResponse, error)
- func (s *Service) SetRelativeVolume(args *SetRelativeVolumeArgs) (*SetRelativeVolumeResponse, error)
- func (s *Service) SetRoomCalibrationStatus(args *SetRoomCalibrationStatusArgs) (*SetRoomCalibrationStatusResponse, error)
- func (s *Service) SetTreble(args *SetTrebleArgs) (*SetTrebleResponse, error)
- func (s *Service) SetVolume(args *SetVolumeArgs) (*SetVolumeResponse, error)
- func (s *Service) SetVolumeDB(args *SetVolumeDBArgs) (*SetVolumeDBResponse, error)
- type ServiceOption
- type SetBassArgs
- type SetBassResponse
- type SetChannelMapArgs
- type SetChannelMapResponse
- type SetEQArgs
- type SetEQResponse
- type SetLoudnessArgs
- type SetLoudnessResponse
- type SetMuteArgs
- type SetMuteResponse
- type SetOutputFixedArgs
- type SetOutputFixedResponse
- type SetRelativeVolumeArgs
- type SetRelativeVolumeResponse
- type SetRoomCalibrationStatusArgs
- type SetRoomCalibrationStatusResponse
- type SetTrebleArgs
- type SetTrebleResponse
- type SetVolumeArgs
- type SetVolumeDBArgs
- type SetVolumeDBResponse
- type SetVolumeResponse
- type UpnpEvent
Constants ¶
View Source
const ( ServiceURN = "urn:schemas-upnp-org:service:RenderingControl:1" EncodingSchema = "http://schemas.xmlsoap.org/soap/encoding/" EnvelopeSchema = "http://schemas.xmlsoap.org/soap/envelope/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetBassArgs ¶
type GetBassResponse ¶
type GetBassResponse struct {
CurrentBass int16 `xml:"CurrentBass"`
}
type GetEQResponse ¶
type GetEQResponse struct {
CurrentValue int16 `xml:"CurrentValue"`
}
type GetHeadphoneConnectedResponse ¶
type GetHeadphoneConnectedResponse struct {
CurrentHeadphoneConnected bool `xml:"CurrentHeadphoneConnected"`
}
type GetLoudnessArgs ¶
type GetLoudnessResponse ¶
type GetLoudnessResponse struct {
CurrentLoudness bool `xml:"CurrentLoudness"`
}
type GetMuteArgs ¶
type GetMuteResponse ¶
type GetMuteResponse struct {
CurrentMute bool `xml:"CurrentMute"`
}
type GetOutputFixedArgs ¶
type GetOutputFixedResponse ¶
type GetOutputFixedResponse struct {
CurrentFixed bool `xml:"CurrentFixed"`
}
type GetSupportsOutputFixedResponse ¶
type GetSupportsOutputFixedResponse struct {
CurrentSupportsFixed bool `xml:"CurrentSupportsFixed"`
}
type GetTrebleArgs ¶
type GetTrebleResponse ¶
type GetTrebleResponse struct {
CurrentTreble int16 `xml:"CurrentTreble"`
}
type GetVolumeArgs ¶
type GetVolumeDBArgs ¶
type GetVolumeDBRangeArgs ¶
type GetVolumeDBResponse ¶
type GetVolumeDBResponse struct {
CurrentVolume int16 `xml:"CurrentVolume"`
}
type GetVolumeResponse ¶
type GetVolumeResponse struct {
CurrentVolume uint16 `xml:"CurrentVolume"`
}
type LastChange ¶
type LastChange string
type Property ¶
type Property struct { XMLName xml.Name `xml:"property"` LastChange *LastChange `xml:"LastChange"` }
type RampToVolumeArgs ¶
type RampToVolumeArgs struct { Xmlns string `xml:"xmlns:u,attr"` InstanceID uint32 `xml:"InstanceID"` // Allowed Value: Master // Allowed Value: LF // Allowed Value: RF Channel string `xml:"Channel"` // Allowed Value: SLEEP_TIMER_RAMP_TYPE // Allowed Value: ALARM_RAMP_TYPE // Allowed Value: AUTOPLAY_RAMP_TYPE RampType string `xml:"RampType"` // Allowed Range: 0 -> 100 step: 1 DesiredVolume uint16 `xml:"DesiredVolume"` ResetVolumeAfter bool `xml:"ResetVolumeAfter"` ProgramURI string `xml:"ProgramURI"` }
type RampToVolumeResponse ¶
type RampToVolumeResponse struct {
RampTime uint32 `xml:"RampTime"`
}
type ResetBasicEQArgs ¶
type ResetBasicEQResponse ¶
type ResetExtEQArgs ¶
type ResetExtEQResponse ¶
type ResetExtEQResponse struct { }
type RestoreVolumePriorToRampResponse ¶
type RestoreVolumePriorToRampResponse struct { }
type Service ¶
type Service struct { LastChange *LastChange // contains filtered or unexported fields }
func NewService ¶
func NewService(opts ...ServiceOption) *Service
func (*Service) ControlEndpoint ¶
func (*Service) EventEndpoint ¶
func (*Service) GetBass ¶
func (s *Service) GetBass(args *GetBassArgs) (*GetBassResponse, error)
func (*Service) GetHeadphoneConnected ¶
func (s *Service) GetHeadphoneConnected(args *GetHeadphoneConnectedArgs) (*GetHeadphoneConnectedResponse, error)
func (*Service) GetLoudness ¶
func (s *Service) GetLoudness(args *GetLoudnessArgs) (*GetLoudnessResponse, error)
func (*Service) GetMute ¶
func (s *Service) GetMute(args *GetMuteArgs) (*GetMuteResponse, error)
func (*Service) GetOutputFixed ¶
func (s *Service) GetOutputFixed(args *GetOutputFixedArgs) (*GetOutputFixedResponse, error)
func (*Service) GetRoomCalibrationStatus ¶
func (s *Service) GetRoomCalibrationStatus(args *GetRoomCalibrationStatusArgs) (*GetRoomCalibrationStatusResponse, error)
func (*Service) GetSupportsOutputFixed ¶
func (s *Service) GetSupportsOutputFixed(args *GetSupportsOutputFixedArgs) (*GetSupportsOutputFixedResponse, error)
func (*Service) GetTreble ¶
func (s *Service) GetTreble(args *GetTrebleArgs) (*GetTrebleResponse, error)
func (*Service) GetVolume ¶
func (s *Service) GetVolume(args *GetVolumeArgs) (*GetVolumeResponse, error)
func (*Service) GetVolumeDB ¶
func (s *Service) GetVolumeDB(args *GetVolumeDBArgs) (*GetVolumeDBResponse, error)
func (*Service) GetVolumeDBRange ¶
func (s *Service) GetVolumeDBRange(args *GetVolumeDBRangeArgs) (*GetVolumeDBRangeResponse, error)
func (*Service) ParseEvent ¶
func (*Service) RampToVolume ¶
func (s *Service) RampToVolume(args *RampToVolumeArgs) (*RampToVolumeResponse, error)
func (*Service) ResetBasicEQ ¶
func (s *Service) ResetBasicEQ(args *ResetBasicEQArgs) (*ResetBasicEQResponse, error)
func (*Service) ResetExtEQ ¶
func (s *Service) ResetExtEQ(args *ResetExtEQArgs) (*ResetExtEQResponse, error)
func (*Service) RestoreVolumePriorToRamp ¶
func (s *Service) RestoreVolumePriorToRamp(args *RestoreVolumePriorToRampArgs) (*RestoreVolumePriorToRampResponse, error)
func (*Service) SetBass ¶
func (s *Service) SetBass(args *SetBassArgs) (*SetBassResponse, error)
func (*Service) SetChannelMap ¶
func (s *Service) SetChannelMap(args *SetChannelMapArgs) (*SetChannelMapResponse, error)
func (*Service) SetLoudness ¶
func (s *Service) SetLoudness(args *SetLoudnessArgs) (*SetLoudnessResponse, error)
func (*Service) SetMute ¶
func (s *Service) SetMute(args *SetMuteArgs) (*SetMuteResponse, error)
func (*Service) SetOutputFixed ¶
func (s *Service) SetOutputFixed(args *SetOutputFixedArgs) (*SetOutputFixedResponse, error)
func (*Service) SetRelativeVolume ¶
func (s *Service) SetRelativeVolume(args *SetRelativeVolumeArgs) (*SetRelativeVolumeResponse, error)
func (*Service) SetRoomCalibrationStatus ¶
func (s *Service) SetRoomCalibrationStatus(args *SetRoomCalibrationStatusArgs) (*SetRoomCalibrationStatusResponse, error)
func (*Service) SetTreble ¶
func (s *Service) SetTreble(args *SetTrebleArgs) (*SetTrebleResponse, error)
func (*Service) SetVolume ¶
func (s *Service) SetVolume(args *SetVolumeArgs) (*SetVolumeResponse, error)
func (*Service) SetVolumeDB ¶
func (s *Service) SetVolumeDB(args *SetVolumeDBArgs) (*SetVolumeDBResponse, error)
type ServiceOption ¶
type ServiceOption func(*Service)
func WithClient ¶
func WithClient(c *http.Client) ServiceOption
func WithLocation ¶
func WithLocation(u *url.URL) ServiceOption
type SetBassArgs ¶
type SetBassResponse ¶
type SetBassResponse struct { }
type SetChannelMapArgs ¶
type SetChannelMapResponse ¶
type SetChannelMapResponse struct { }
type SetEQResponse ¶
type SetEQResponse struct { }
type SetLoudnessArgs ¶
type SetLoudnessResponse ¶
type SetLoudnessResponse struct { }
type SetMuteArgs ¶
type SetMuteResponse ¶
type SetMuteResponse struct { }
type SetOutputFixedArgs ¶
type SetOutputFixedResponse ¶
type SetOutputFixedResponse struct { }
type SetRelativeVolumeArgs ¶
type SetRelativeVolumeResponse ¶
type SetRelativeVolumeResponse struct {
NewVolume uint16 `xml:"NewVolume"`
}
type SetRoomCalibrationStatusResponse ¶
type SetRoomCalibrationStatusResponse struct { }
type SetTrebleArgs ¶
type SetTrebleResponse ¶
type SetTrebleResponse struct { }
type SetVolumeArgs ¶
type SetVolumeDBArgs ¶
type SetVolumeDBResponse ¶
type SetVolumeDBResponse struct { }
type SetVolumeResponse ¶
type SetVolumeResponse struct { }
Click to show internal directories.
Click to hide internal directories.