Versions in this module Expand all Collapse all v0 v0.0.1 Jul 19, 2020 Changes in this version + type Body struct + GetBass *GetBassArgs + GetEQ *GetEQArgs + GetHeadphoneConnected *GetHeadphoneConnectedArgs + GetLoudness *GetLoudnessArgs + GetMute *GetMuteArgs + GetOutputFixed *GetOutputFixedArgs + GetRoomCalibrationStatus *GetRoomCalibrationStatusArgs + GetSupportsOutputFixed *GetSupportsOutputFixedArgs + GetTreble *GetTrebleArgs + GetVolume *GetVolumeArgs + GetVolumeDB *GetVolumeDBArgs + GetVolumeDBRange *GetVolumeDBRangeArgs + RampToVolume *RampToVolumeArgs + ResetBasicEQ *ResetBasicEQArgs + ResetExtEQ *ResetExtEQArgs + RestoreVolumePriorToRamp *RestoreVolumePriorToRampArgs + SetBass *SetBassArgs + SetChannelMap *SetChannelMapArgs + SetEQ *SetEQArgs + SetLoudness *SetLoudnessArgs + SetMute *SetMuteArgs + SetOutputFixed *SetOutputFixedArgs + SetRelativeVolume *SetRelativeVolumeArgs + SetRoomCalibrationStatus *SetRoomCalibrationStatusArgs + SetRoomCalibrationX *SetRoomCalibrationXArgs + SetTreble *SetTrebleArgs + SetVolume *SetVolumeArgs + SetVolumeDB *SetVolumeDBArgs + XMLName xml.Name + type BodyResponse struct + GetBass *GetBassResponse + GetEQ *GetEQResponse + GetHeadphoneConnected *GetHeadphoneConnectedResponse + GetLoudness *GetLoudnessResponse + GetMute *GetMuteResponse + GetOutputFixed *GetOutputFixedResponse + GetRoomCalibrationStatus *GetRoomCalibrationStatusResponse + GetSupportsOutputFixed *GetSupportsOutputFixedResponse + GetTreble *GetTrebleResponse + GetVolume *GetVolumeResponse + GetVolumeDB *GetVolumeDBResponse + GetVolumeDBRange *GetVolumeDBRangeResponse + RampToVolume *RampToVolumeResponse + ResetBasicEQ *ResetBasicEQResponse + ResetExtEQ *ResetExtEQResponse + RestoreVolumePriorToRamp *RestoreVolumePriorToRampResponse + SetBass *SetBassResponse + SetChannelMap *SetChannelMapResponse + SetEQ *SetEQResponse + SetLoudness *SetLoudnessResponse + SetMute *SetMuteResponse + SetOutputFixed *SetOutputFixedResponse + SetRelativeVolume *SetRelativeVolumeResponse + SetRoomCalibrationStatus *SetRoomCalibrationStatusResponse + SetRoomCalibrationX *SetRoomCalibrationXResponse + SetTreble *SetTrebleResponse + SetVolume *SetVolumeResponse + SetVolumeDB *SetVolumeDBResponse + XMLName xml.Name + type Envelope struct + Body Body + EncodingStyle string + XMLName xml.Name + Xmlns string + type EnvelopeResponse struct + Body BodyResponse + EncodingStyle string + XMLName xml.Name + Xmlns string + type GetBassArgs struct + InstanceID uint32 + Xmlns string + type GetBassResponse struct + CurrentBass int16 + type GetEQArgs struct + EQType string + InstanceID uint32 + Xmlns string + type GetEQResponse struct + CurrentValue int16 + type GetHeadphoneConnectedArgs struct + InstanceID uint32 + Xmlns string + type GetHeadphoneConnectedResponse struct + CurrentHeadphoneConnected bool + type GetLoudnessArgs struct + Channel string + InstanceID uint32 + Xmlns string + type GetLoudnessResponse struct + CurrentLoudness bool + type GetMuteArgs struct + Channel string + InstanceID uint32 + Xmlns string + type GetMuteResponse struct + CurrentMute bool + type GetOutputFixedArgs struct + InstanceID uint32 + Xmlns string + type GetOutputFixedResponse struct + CurrentFixed bool + type GetRoomCalibrationStatusArgs struct + InstanceID uint32 + Xmlns string + type GetRoomCalibrationStatusResponse struct + RoomCalibrationAvailable bool + RoomCalibrationEnabled bool + type GetSupportsOutputFixedArgs struct + InstanceID uint32 + Xmlns string + type GetSupportsOutputFixedResponse struct + CurrentSupportsFixed bool + type GetTrebleArgs struct + InstanceID uint32 + Xmlns string + type GetTrebleResponse struct + CurrentTreble int16 + type GetVolumeArgs struct + Channel string + InstanceID uint32 + Xmlns string + type GetVolumeDBArgs struct + Channel string + InstanceID uint32 + Xmlns string + type GetVolumeDBRangeArgs struct + Channel string + InstanceID uint32 + Xmlns string + type GetVolumeDBRangeResponse struct + MaxValue int16 + MinValue int16 + type GetVolumeDBResponse struct + CurrentVolume int16 + type GetVolumeResponse struct + CurrentVolume uint16 + type RampToVolumeArgs struct + Channel string + DesiredVolume uint16 + InstanceID uint32 + ProgramURI string + RampType string + ResetVolumeAfter bool + Xmlns string + type RampToVolumeResponse struct + RampTime uint32 + type ResetBasicEQArgs struct + InstanceID uint32 + Xmlns string + type ResetBasicEQResponse struct + Bass int16 + LeftVolume uint16 + Loudness bool + RightVolume uint16 + Treble int16 + type ResetExtEQArgs struct + EQType string + InstanceID uint32 + Xmlns string + type ResetExtEQResponse struct + type RestoreVolumePriorToRampArgs struct + Channel string + InstanceID uint32 + Xmlns string + type RestoreVolumePriorToRampResponse struct + type Service struct + ControlEndpoint *url.URL + EventEndpoint *url.URL + func NewService(deviceUrl *url.URL) *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 struct + DesiredBass int16 + InstanceID uint32 + Xmlns string + type SetBassResponse struct + type SetChannelMapArgs struct + ChannelMap string + InstanceID uint32 + Xmlns string + type SetChannelMapResponse struct + type SetEQArgs struct + DesiredValue int16 + EQType string + InstanceID uint32 + Xmlns string + type SetEQResponse struct + type SetLoudnessArgs struct + Channel string + DesiredLoudness bool + InstanceID uint32 + Xmlns string + type SetLoudnessResponse struct + type SetMuteArgs struct + Channel string + DesiredMute bool + InstanceID uint32 + Xmlns string + type SetMuteResponse struct + type SetOutputFixedArgs struct + DesiredFixed bool + InstanceID uint32 + Xmlns string + type SetOutputFixedResponse struct + type SetRelativeVolumeArgs struct + Adjustment int32 + Channel string + InstanceID uint32 + Xmlns string + type SetRelativeVolumeResponse struct + NewVolume uint16 + type SetRoomCalibrationStatusArgs struct + InstanceID uint32 + RoomCalibrationEnabled bool + Xmlns string + type SetRoomCalibrationStatusResponse struct + type SetRoomCalibrationXArgs struct + CalibrationID string + CalibrationMode string + Coefficients string + InstanceID uint32 + Xmlns string + type SetRoomCalibrationXResponse struct + type SetTrebleArgs struct + DesiredTreble int16 + InstanceID uint32 + Xmlns string + type SetTrebleResponse struct + type SetVolumeArgs struct + Channel string + DesiredVolume uint16 + InstanceID uint32 + Xmlns string + type SetVolumeDBArgs struct + Channel string + DesiredVolume int16 + InstanceID uint32 + Xmlns string + type SetVolumeDBResponse struct + type SetVolumeResponse struct