Documentation
¶
Index ¶
- type Body
- type BodyResponse
- type Envelope
- type EnvelopeResponse
- 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 RampToVolumeArgs
- type RampToVolumeResponse
- type ResetBasicEQArgs
- type ResetBasicEQResponse
- type ResetExtEQArgs
- type ResetExtEQResponse
- type RestoreVolumePriorToRampArgs
- type RestoreVolumePriorToRampResponse
- type Service
- func (s *Service) GetBass(httpClient *http.Client, args *GetBassArgs) (*GetBassResponse, error)
- func (s *Service) GetEQ(httpClient *http.Client, args *GetEQArgs) (*GetEQResponse, error)
- func (s *Service) GetHeadphoneConnected(httpClient *http.Client, args *GetHeadphoneConnectedArgs) (*GetHeadphoneConnectedResponse, error)
- func (s *Service) GetLoudness(httpClient *http.Client, args *GetLoudnessArgs) (*GetLoudnessResponse, error)
- func (s *Service) GetMute(httpClient *http.Client, args *GetMuteArgs) (*GetMuteResponse, error)
- func (s *Service) GetOutputFixed(httpClient *http.Client, args *GetOutputFixedArgs) (*GetOutputFixedResponse, error)
- func (s *Service) GetRoomCalibrationStatus(httpClient *http.Client, args *GetRoomCalibrationStatusArgs) (*GetRoomCalibrationStatusResponse, error)
- func (s *Service) GetSupportsOutputFixed(httpClient *http.Client, args *GetSupportsOutputFixedArgs) (*GetSupportsOutputFixedResponse, error)
- func (s *Service) GetTreble(httpClient *http.Client, args *GetTrebleArgs) (*GetTrebleResponse, error)
- func (s *Service) GetVolume(httpClient *http.Client, args *GetVolumeArgs) (*GetVolumeResponse, error)
- func (s *Service) GetVolumeDB(httpClient *http.Client, args *GetVolumeDBArgs) (*GetVolumeDBResponse, error)
- func (s *Service) GetVolumeDBRange(httpClient *http.Client, args *GetVolumeDBRangeArgs) (*GetVolumeDBRangeResponse, error)
- func (s *Service) RampToVolume(httpClient *http.Client, args *RampToVolumeArgs) (*RampToVolumeResponse, error)
- func (s *Service) ResetBasicEQ(httpClient *http.Client, args *ResetBasicEQArgs) (*ResetBasicEQResponse, error)
- func (s *Service) ResetExtEQ(httpClient *http.Client, args *ResetExtEQArgs) (*ResetExtEQResponse, error)
- func (s *Service) RestoreVolumePriorToRamp(httpClient *http.Client, args *RestoreVolumePriorToRampArgs) (*RestoreVolumePriorToRampResponse, error)
- func (s *Service) SetBass(httpClient *http.Client, args *SetBassArgs) (*SetBassResponse, error)
- func (s *Service) SetChannelMap(httpClient *http.Client, args *SetChannelMapArgs) (*SetChannelMapResponse, error)
- func (s *Service) SetEQ(httpClient *http.Client, args *SetEQArgs) (*SetEQResponse, error)
- func (s *Service) SetLoudness(httpClient *http.Client, args *SetLoudnessArgs) (*SetLoudnessResponse, error)
- func (s *Service) SetMute(httpClient *http.Client, args *SetMuteArgs) (*SetMuteResponse, error)
- func (s *Service) SetOutputFixed(httpClient *http.Client, args *SetOutputFixedArgs) (*SetOutputFixedResponse, error)
- func (s *Service) SetRelativeVolume(httpClient *http.Client, args *SetRelativeVolumeArgs) (*SetRelativeVolumeResponse, error)
- func (s *Service) SetRoomCalibrationStatus(httpClient *http.Client, args *SetRoomCalibrationStatusArgs) (*SetRoomCalibrationStatusResponse, error)
- func (s *Service) SetRoomCalibrationX(httpClient *http.Client, args *SetRoomCalibrationXArgs) (*SetRoomCalibrationXResponse, error)
- func (s *Service) SetTreble(httpClient *http.Client, args *SetTrebleArgs) (*SetTrebleResponse, error)
- func (s *Service) SetVolume(httpClient *http.Client, args *SetVolumeArgs) (*SetVolumeResponse, error)
- func (s *Service) SetVolumeDB(httpClient *http.Client, args *SetVolumeDBArgs) (*SetVolumeDBResponse, error)
- 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 SetRoomCalibrationXArgs
- type SetRoomCalibrationXResponse
- type SetTrebleArgs
- type SetTrebleResponse
- type SetVolumeArgs
- type SetVolumeDBArgs
- type SetVolumeDBResponse
- type SetVolumeResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct {
XMLName xml.Name `xml:"s:Body"`
GetMute *GetMuteArgs `xml:"u:GetMute,omitempty"`
SetMute *SetMuteArgs `xml:"u:SetMute,omitempty"`
ResetBasicEQ *ResetBasicEQArgs `xml:"u:ResetBasicEQ,omitempty"`
ResetExtEQ *ResetExtEQArgs `xml:"u:ResetExtEQ,omitempty"`
GetVolume *GetVolumeArgs `xml:"u:GetVolume,omitempty"`
SetVolume *SetVolumeArgs `xml:"u:SetVolume,omitempty"`
SetRelativeVolume *SetRelativeVolumeArgs `xml:"u:SetRelativeVolume,omitempty"`
GetVolumeDB *GetVolumeDBArgs `xml:"u:GetVolumeDB,omitempty"`
SetVolumeDB *SetVolumeDBArgs `xml:"u:SetVolumeDB,omitempty"`
GetVolumeDBRange *GetVolumeDBRangeArgs `xml:"u:GetVolumeDBRange,omitempty"`
GetBass *GetBassArgs `xml:"u:GetBass,omitempty"`
SetBass *SetBassArgs `xml:"u:SetBass,omitempty"`
GetTreble *GetTrebleArgs `xml:"u:GetTreble,omitempty"`
SetTreble *SetTrebleArgs `xml:"u:SetTreble,omitempty"`
GetEQ *GetEQArgs `xml:"u:GetEQ,omitempty"`
SetEQ *SetEQArgs `xml:"u:SetEQ,omitempty"`
GetLoudness *GetLoudnessArgs `xml:"u:GetLoudness,omitempty"`
SetLoudness *SetLoudnessArgs `xml:"u:SetLoudness,omitempty"`
GetSupportsOutputFixed *GetSupportsOutputFixedArgs `xml:"u:GetSupportsOutputFixed,omitempty"`
GetOutputFixed *GetOutputFixedArgs `xml:"u:GetOutputFixed,omitempty"`
SetOutputFixed *SetOutputFixedArgs `xml:"u:SetOutputFixed,omitempty"`
GetHeadphoneConnected *GetHeadphoneConnectedArgs `xml:"u:GetHeadphoneConnected,omitempty"`
RampToVolume *RampToVolumeArgs `xml:"u:RampToVolume,omitempty"`
RestoreVolumePriorToRamp *RestoreVolumePriorToRampArgs `xml:"u:RestoreVolumePriorToRamp,omitempty"`
SetChannelMap *SetChannelMapArgs `xml:"u:SetChannelMap,omitempty"`
SetRoomCalibrationX *SetRoomCalibrationXArgs `xml:"u:SetRoomCalibrationX,omitempty"`
GetRoomCalibrationStatus *GetRoomCalibrationStatusArgs `xml:"u:GetRoomCalibrationStatus,omitempty"`
SetRoomCalibrationStatus *SetRoomCalibrationStatusArgs `xml:"u:SetRoomCalibrationStatus,omitempty"`
}
type BodyResponse ¶
type BodyResponse struct {
XMLName xml.Name `xml:"Body"`
GetMute *GetMuteResponse `xml:"GetMuteResponse,omitempty"`
SetMute *SetMuteResponse `xml:"SetMuteResponse,omitempty"`
ResetBasicEQ *ResetBasicEQResponse `xml:"ResetBasicEQResponse,omitempty"`
ResetExtEQ *ResetExtEQResponse `xml:"ResetExtEQResponse,omitempty"`
GetVolume *GetVolumeResponse `xml:"GetVolumeResponse,omitempty"`
SetVolume *SetVolumeResponse `xml:"SetVolumeResponse,omitempty"`
SetRelativeVolume *SetRelativeVolumeResponse `xml:"SetRelativeVolumeResponse,omitempty"`
GetVolumeDB *GetVolumeDBResponse `xml:"GetVolumeDBResponse,omitempty"`
SetVolumeDB *SetVolumeDBResponse `xml:"SetVolumeDBResponse,omitempty"`
GetVolumeDBRange *GetVolumeDBRangeResponse `xml:"GetVolumeDBRangeResponse,omitempty"`
GetBass *GetBassResponse `xml:"GetBassResponse,omitempty"`
SetBass *SetBassResponse `xml:"SetBassResponse,omitempty"`
GetTreble *GetTrebleResponse `xml:"GetTrebleResponse,omitempty"`
SetTreble *SetTrebleResponse `xml:"SetTrebleResponse,omitempty"`
GetEQ *GetEQResponse `xml:"GetEQResponse,omitempty"`
SetEQ *SetEQResponse `xml:"SetEQResponse,omitempty"`
GetLoudness *GetLoudnessResponse `xml:"GetLoudnessResponse,omitempty"`
SetLoudness *SetLoudnessResponse `xml:"SetLoudnessResponse,omitempty"`
GetSupportsOutputFixed *GetSupportsOutputFixedResponse `xml:"GetSupportsOutputFixedResponse,omitempty"`
GetOutputFixed *GetOutputFixedResponse `xml:"GetOutputFixedResponse,omitempty"`
SetOutputFixed *SetOutputFixedResponse `xml:"SetOutputFixedResponse,omitempty"`
GetHeadphoneConnected *GetHeadphoneConnectedResponse `xml:"GetHeadphoneConnectedResponse,omitempty"`
RampToVolume *RampToVolumeResponse `xml:"RampToVolumeResponse,omitempty"`
RestoreVolumePriorToRamp *RestoreVolumePriorToRampResponse `xml:"RestoreVolumePriorToRampResponse,omitempty"`
SetChannelMap *SetChannelMapResponse `xml:"SetChannelMapResponse,omitempty"`
SetRoomCalibrationX *SetRoomCalibrationXResponse `xml:"SetRoomCalibrationXResponse,omitempty"`
GetRoomCalibrationStatus *GetRoomCalibrationStatusResponse `xml:"GetRoomCalibrationStatusResponse,omitempty"`
SetRoomCalibrationStatus *SetRoomCalibrationStatusResponse `xml:"SetRoomCalibrationStatusResponse,omitempty"`
}
type EnvelopeResponse ¶
type EnvelopeResponse struct {
XMLName xml.Name `xml:"Envelope"`
Xmlns string `xml:"xmlns:s,attr"`
EncodingStyle string `xml:"encodingStyle,attr"`
Body BodyResponse `xml:"Body"`
}
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 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 ¶
func NewService ¶
func (*Service) GetBass ¶
func (s *Service) GetBass(httpClient *http.Client, args *GetBassArgs) (*GetBassResponse, error)
func (*Service) GetHeadphoneConnected ¶
func (s *Service) GetHeadphoneConnected(httpClient *http.Client, args *GetHeadphoneConnectedArgs) (*GetHeadphoneConnectedResponse, error)
func (*Service) GetLoudness ¶
func (s *Service) GetLoudness(httpClient *http.Client, args *GetLoudnessArgs) (*GetLoudnessResponse, error)
func (*Service) GetMute ¶
func (s *Service) GetMute(httpClient *http.Client, args *GetMuteArgs) (*GetMuteResponse, error)
func (*Service) GetOutputFixed ¶
func (s *Service) GetOutputFixed(httpClient *http.Client, args *GetOutputFixedArgs) (*GetOutputFixedResponse, error)
func (*Service) GetRoomCalibrationStatus ¶
func (s *Service) GetRoomCalibrationStatus(httpClient *http.Client, args *GetRoomCalibrationStatusArgs) (*GetRoomCalibrationStatusResponse, error)
func (*Service) GetSupportsOutputFixed ¶
func (s *Service) GetSupportsOutputFixed(httpClient *http.Client, args *GetSupportsOutputFixedArgs) (*GetSupportsOutputFixedResponse, error)
func (*Service) GetTreble ¶
func (s *Service) GetTreble(httpClient *http.Client, args *GetTrebleArgs) (*GetTrebleResponse, error)
func (*Service) GetVolume ¶
func (s *Service) GetVolume(httpClient *http.Client, args *GetVolumeArgs) (*GetVolumeResponse, error)
func (*Service) GetVolumeDB ¶
func (s *Service) GetVolumeDB(httpClient *http.Client, args *GetVolumeDBArgs) (*GetVolumeDBResponse, error)
func (*Service) GetVolumeDBRange ¶
func (s *Service) GetVolumeDBRange(httpClient *http.Client, args *GetVolumeDBRangeArgs) (*GetVolumeDBRangeResponse, error)
func (*Service) RampToVolume ¶
func (s *Service) RampToVolume(httpClient *http.Client, args *RampToVolumeArgs) (*RampToVolumeResponse, error)
func (*Service) ResetBasicEQ ¶
func (s *Service) ResetBasicEQ(httpClient *http.Client, args *ResetBasicEQArgs) (*ResetBasicEQResponse, error)
func (*Service) ResetExtEQ ¶
func (s *Service) ResetExtEQ(httpClient *http.Client, args *ResetExtEQArgs) (*ResetExtEQResponse, error)
func (*Service) RestoreVolumePriorToRamp ¶
func (s *Service) RestoreVolumePriorToRamp(httpClient *http.Client, args *RestoreVolumePriorToRampArgs) (*RestoreVolumePriorToRampResponse, error)
func (*Service) SetBass ¶
func (s *Service) SetBass(httpClient *http.Client, args *SetBassArgs) (*SetBassResponse, error)
func (*Service) SetChannelMap ¶
func (s *Service) SetChannelMap(httpClient *http.Client, args *SetChannelMapArgs) (*SetChannelMapResponse, error)
func (*Service) SetLoudness ¶
func (s *Service) SetLoudness(httpClient *http.Client, args *SetLoudnessArgs) (*SetLoudnessResponse, error)
func (*Service) SetMute ¶
func (s *Service) SetMute(httpClient *http.Client, args *SetMuteArgs) (*SetMuteResponse, error)
func (*Service) SetOutputFixed ¶
func (s *Service) SetOutputFixed(httpClient *http.Client, args *SetOutputFixedArgs) (*SetOutputFixedResponse, error)
func (*Service) SetRelativeVolume ¶
func (s *Service) SetRelativeVolume(httpClient *http.Client, args *SetRelativeVolumeArgs) (*SetRelativeVolumeResponse, error)
func (*Service) SetRoomCalibrationStatus ¶
func (s *Service) SetRoomCalibrationStatus(httpClient *http.Client, args *SetRoomCalibrationStatusArgs) (*SetRoomCalibrationStatusResponse, error)
func (*Service) SetRoomCalibrationX ¶
func (s *Service) SetRoomCalibrationX(httpClient *http.Client, args *SetRoomCalibrationXArgs) (*SetRoomCalibrationXResponse, error)
func (*Service) SetTreble ¶
func (s *Service) SetTreble(httpClient *http.Client, args *SetTrebleArgs) (*SetTrebleResponse, error)
func (*Service) SetVolume ¶
func (s *Service) SetVolume(httpClient *http.Client, args *SetVolumeArgs) (*SetVolumeResponse, error)
func (*Service) SetVolumeDB ¶
func (s *Service) SetVolumeDB(httpClient *http.Client, args *SetVolumeDBArgs) (*SetVolumeDBResponse, error)
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 SetRoomCalibrationXArgs ¶
type SetRoomCalibrationXResponse ¶
type SetRoomCalibrationXResponse 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.