Documentation ¶
Overview ¶
Package grouprenderingcontrol is a generated GroupRenderingControl package.
Index ¶
- Constants
- type GetGroupMuteArgs
- type GetGroupMuteResponse
- type GetGroupVolumeArgs
- type GetGroupVolumeResponse
- type GroupMute
- type GroupVolume
- type GroupVolumeChangeable
- type Property
- type Service
- func (s *Service) Client() *http.Client
- func (s *Service) ControlEndpoint() *url.URL
- func (s *Service) EventEndpoint() *url.URL
- func (s *Service) GetGroupMute(args *GetGroupMuteArgs) (*GetGroupMuteResponse, error)
- func (s *Service) GetGroupVolume(args *GetGroupVolumeArgs) (*GetGroupVolumeResponse, error)
- func (s *Service) Location() *url.URL
- func (zp *Service) ParseEvent(body []byte) []interface{}
- func (s *Service) SetGroupMute(args *SetGroupMuteArgs) (*SetGroupMuteResponse, error)
- func (s *Service) SetGroupVolume(args *SetGroupVolumeArgs) (*SetGroupVolumeResponse, error)
- func (s *Service) SetRelativeGroupVolume(args *SetRelativeGroupVolumeArgs) (*SetRelativeGroupVolumeResponse, error)
- func (s *Service) SnapshotGroupVolume(args *SnapshotGroupVolumeArgs) (*SnapshotGroupVolumeResponse, error)
- type ServiceOption
- type SetGroupMuteArgs
- type SetGroupMuteResponse
- type SetGroupVolumeArgs
- type SetGroupVolumeResponse
- type SetRelativeGroupVolumeArgs
- type SetRelativeGroupVolumeResponse
- type SnapshotGroupVolumeArgs
- type SnapshotGroupVolumeResponse
- type UpnpEvent
Constants ¶
View Source
const ( ServiceURN = "urn:schemas-upnp-org:service:GroupRenderingControl: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 GetGroupMuteArgs ¶
type GetGroupMuteResponse ¶
type GetGroupMuteResponse struct {
CurrentMute bool `xml:"CurrentMute"`
}
type GetGroupVolumeArgs ¶
type GetGroupVolumeResponse ¶
type GetGroupVolumeResponse struct {
CurrentVolume uint16 `xml:"CurrentVolume"`
}
type GroupVolume ¶
type GroupVolume uint16
type GroupVolumeChangeable ¶
type GroupVolumeChangeable bool
type Property ¶
type Property struct { XMLName xml.Name `xml:"property"` GroupMute *GroupMute `xml:"GroupMute"` GroupVolume *GroupVolume `xml:"GroupVolume"` GroupVolumeChangeable *GroupVolumeChangeable `xml:"GroupVolumeChangeable"` }
type Service ¶
type Service struct { GroupMute *GroupMute GroupVolume *GroupVolume GroupVolumeChangeable *GroupVolumeChangeable // contains filtered or unexported fields }
func NewService ¶
func NewService(opts ...ServiceOption) *Service
func (*Service) ControlEndpoint ¶
func (*Service) EventEndpoint ¶
func (*Service) GetGroupMute ¶
func (s *Service) GetGroupMute(args *GetGroupMuteArgs) (*GetGroupMuteResponse, error)
func (*Service) GetGroupVolume ¶
func (s *Service) GetGroupVolume(args *GetGroupVolumeArgs) (*GetGroupVolumeResponse, error)
func (*Service) ParseEvent ¶
func (*Service) SetGroupMute ¶
func (s *Service) SetGroupMute(args *SetGroupMuteArgs) (*SetGroupMuteResponse, error)
func (*Service) SetGroupVolume ¶
func (s *Service) SetGroupVolume(args *SetGroupVolumeArgs) (*SetGroupVolumeResponse, error)
func (*Service) SetRelativeGroupVolume ¶
func (s *Service) SetRelativeGroupVolume(args *SetRelativeGroupVolumeArgs) (*SetRelativeGroupVolumeResponse, error)
func (*Service) SnapshotGroupVolume ¶
func (s *Service) SnapshotGroupVolume(args *SnapshotGroupVolumeArgs) (*SnapshotGroupVolumeResponse, error)
type ServiceOption ¶
type ServiceOption func(*Service)
func WithClient ¶
func WithClient(c *http.Client) ServiceOption
func WithLocation ¶
func WithLocation(u *url.URL) ServiceOption
type SetGroupMuteArgs ¶
type SetGroupMuteResponse ¶
type SetGroupMuteResponse struct { }
type SetGroupVolumeArgs ¶
type SetGroupVolumeResponse ¶
type SetGroupVolumeResponse struct { }
type SetRelativeGroupVolumeResponse ¶
type SetRelativeGroupVolumeResponse struct {
NewVolume uint16 `xml:"NewVolume"`
}
type SnapshotGroupVolumeArgs ¶
type SnapshotGroupVolumeResponse ¶
type SnapshotGroupVolumeResponse struct { }
Click to show internal directories.
Click to hide internal directories.