renderingcontrol

package
v0.0.0-...-cbcd650 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package renderingcontrol is a generated RenderingControl package.

Index

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 GetBassArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetBassResponse

type GetBassResponse struct {
	CurrentBass int16 `xml:"CurrentBass"`
}

type GetEQArgs

type GetEQArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	EQType     string `xml:"EQType"`
}

type GetEQResponse

type GetEQResponse struct {
	CurrentValue int16 `xml:"CurrentValue"`
}

type GetHeadphoneConnectedArgs

type GetHeadphoneConnectedArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetHeadphoneConnectedResponse

type GetHeadphoneConnectedResponse struct {
	CurrentHeadphoneConnected bool `xml:"CurrentHeadphoneConnected"`
}

type GetLoudnessArgs

type GetLoudnessArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: Master
	// Allowed Value: LF
	// Allowed Value: RF
	Channel string `xml:"Channel"`
}

type GetLoudnessResponse

type GetLoudnessResponse struct {
	CurrentLoudness bool `xml:"CurrentLoudness"`
}

type GetMuteArgs

type GetMuteArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: Master
	// Allowed Value: LF
	// Allowed Value: RF
	Channel string `xml:"Channel"`
}

type GetMuteResponse

type GetMuteResponse struct {
	CurrentMute bool `xml:"CurrentMute"`
}

type GetOutputFixedArgs

type GetOutputFixedArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetOutputFixedResponse

type GetOutputFixedResponse struct {
	CurrentFixed bool `xml:"CurrentFixed"`
}

type GetRoomCalibrationStatusArgs

type GetRoomCalibrationStatusArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetRoomCalibrationStatusResponse

type GetRoomCalibrationStatusResponse struct {
	RoomCalibrationEnabled   bool `xml:"RoomCalibrationEnabled"`
	RoomCalibrationAvailable bool `xml:"RoomCalibrationAvailable"`
}

type GetSupportsOutputFixedArgs

type GetSupportsOutputFixedArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetSupportsOutputFixedResponse

type GetSupportsOutputFixedResponse struct {
	CurrentSupportsFixed bool `xml:"CurrentSupportsFixed"`
}

type GetTrebleArgs

type GetTrebleArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type GetTrebleResponse

type GetTrebleResponse struct {
	CurrentTreble int16 `xml:"CurrentTreble"`
}

type GetVolumeArgs

type GetVolumeArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: Master
	// Allowed Value: LF
	// Allowed Value: RF
	Channel string `xml:"Channel"`
}

type GetVolumeDBArgs

type GetVolumeDBArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: Master
	// Allowed Value: LF
	// Allowed Value: RF
	Channel string `xml:"Channel"`
}

type GetVolumeDBRangeArgs

type GetVolumeDBRangeArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: Master
	// Allowed Value: LF
	// Allowed Value: RF
	Channel string `xml:"Channel"`
}

type GetVolumeDBRangeResponse

type GetVolumeDBRangeResponse struct {
	MinValue int16 `xml:"MinValue"`
	MaxValue int16 `xml:"MaxValue"`
}

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 ResetBasicEQArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
}

type ResetBasicEQResponse

type ResetBasicEQResponse struct {
	Bass        int16  `xml:"Bass"`
	Treble      int16  `xml:"Treble"`
	Loudness    bool   `xml:"Loudness"`
	LeftVolume  uint16 `xml:"LeftVolume"`
	RightVolume uint16 `xml:"RightVolume"`
}

type ResetExtEQArgs

type ResetExtEQArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	EQType     string `xml:"EQType"`
}

type ResetExtEQResponse

type ResetExtEQResponse struct {
}

type RestoreVolumePriorToRampArgs

type RestoreVolumePriorToRampArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: Master
	// Allowed Value: LF
	// Allowed Value: RF
	Channel string `xml:"Channel"`
}

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) Client

func (s *Service) Client() *http.Client

func (*Service) ControlEndpoint

func (s *Service) ControlEndpoint() *url.URL

func (*Service) EventEndpoint

func (s *Service) EventEndpoint() *url.URL

func (*Service) GetBass

func (s *Service) GetBass(args *GetBassArgs) (*GetBassResponse, error)

func (*Service) GetEQ

func (s *Service) GetEQ(args *GetEQArgs) (*GetEQResponse, 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) Location

func (s *Service) Location() *url.URL

func (*Service) ParseEvent

func (zp *Service) ParseEvent(body []byte) []interface{}

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) SetEQ

func (s *Service) SetEQ(args *SetEQArgs) (*SetEQResponse, 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 SetBassArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Range: -10 -> 10 step: 1
	DesiredBass int16 `xml:"DesiredBass"`
}

type SetBassResponse

type SetBassResponse struct {
}

type SetChannelMapArgs

type SetChannelMapArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	ChannelMap string `xml:"ChannelMap"`
}

type SetChannelMapResponse

type SetChannelMapResponse struct {
}

type SetEQArgs

type SetEQArgs struct {
	Xmlns        string `xml:"xmlns:u,attr"`
	InstanceID   uint32 `xml:"InstanceID"`
	EQType       string `xml:"EQType"`
	DesiredValue int16  `xml:"DesiredValue"`
}

type SetEQResponse

type SetEQResponse struct {
}

type SetLoudnessArgs

type SetLoudnessArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: Master
	// Allowed Value: LF
	// Allowed Value: RF
	Channel         string `xml:"Channel"`
	DesiredLoudness bool   `xml:"DesiredLoudness"`
}

type SetLoudnessResponse

type SetLoudnessResponse struct {
}

type SetMuteArgs

type SetMuteArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: Master
	// Allowed Value: LF
	// Allowed Value: RF
	Channel     string `xml:"Channel"`
	DesiredMute bool   `xml:"DesiredMute"`
}

type SetMuteResponse

type SetMuteResponse struct {
}

type SetOutputFixedArgs

type SetOutputFixedArgs struct {
	Xmlns        string `xml:"xmlns:u,attr"`
	InstanceID   uint32 `xml:"InstanceID"`
	DesiredFixed bool   `xml:"DesiredFixed"`
}

type SetOutputFixedResponse

type SetOutputFixedResponse struct {
}

type SetRelativeVolumeArgs

type SetRelativeVolumeArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: Master
	// Allowed Value: LF
	// Allowed Value: RF
	Channel    string `xml:"Channel"`
	Adjustment int32  `xml:"Adjustment"`
}

type SetRelativeVolumeResponse

type SetRelativeVolumeResponse struct {
	NewVolume uint16 `xml:"NewVolume"`
}

type SetRoomCalibrationStatusArgs

type SetRoomCalibrationStatusArgs struct {
	Xmlns                  string `xml:"xmlns:u,attr"`
	InstanceID             uint32 `xml:"InstanceID"`
	RoomCalibrationEnabled bool   `xml:"RoomCalibrationEnabled"`
}

type SetRoomCalibrationStatusResponse

type SetRoomCalibrationStatusResponse struct {
}

type SetTrebleArgs

type SetTrebleArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Range: -10 -> 10 step: 1
	DesiredTreble int16 `xml:"DesiredTreble"`
}

type SetTrebleResponse

type SetTrebleResponse struct {
}

type SetVolumeArgs

type SetVolumeArgs 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 Range: 0 -> 100 step: 1
	DesiredVolume uint16 `xml:"DesiredVolume"`
}

type SetVolumeDBArgs

type SetVolumeDBArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	InstanceID uint32 `xml:"InstanceID"`
	// Allowed Value: Master
	// Allowed Value: LF
	// Allowed Value: RF
	Channel       string `xml:"Channel"`
	DesiredVolume int16  `xml:"DesiredVolume"`
}

type SetVolumeDBResponse

type SetVolumeDBResponse struct {
}

type SetVolumeResponse

type SetVolumeResponse struct {
}

type UpnpEvent

type UpnpEvent struct {
	XMLName      xml.Name   `xml:"propertyset"`
	XMLNameSpace string     `xml:"xmlns:e,attr"`
	Properties   []Property `xml:"property"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL