Documentation
¶
Overview ¶
Package audioin is a generated AudioIn package.
Index ¶
- Constants
- type AudioInputName
- type GetAudioInputAttributesArgs
- type GetAudioInputAttributesResponse
- type GetLineInLevelArgs
- type GetLineInLevelResponse
- type Icon
- type LeftLineInLevel
- type LineInConnected
- type Playing
- type Property
- type RightLineInLevel
- type SelectAudioArgs
- type SelectAudioResponse
- type Service
- func (s *Service) Client() *http.Client
- func (s *Service) ControlEndpoint() *url.URL
- func (s *Service) EventEndpoint() *url.URL
- func (s *Service) GetAudioInputAttributes(args *GetAudioInputAttributesArgs) (*GetAudioInputAttributesResponse, error)
- func (s *Service) GetLineInLevel(args *GetLineInLevelArgs) (*GetLineInLevelResponse, error)
- func (s *Service) Location() *url.URL
- func (zp *Service) ParseEvent(body []byte) []interface{}
- func (s *Service) SelectAudio(args *SelectAudioArgs) (*SelectAudioResponse, error)
- func (s *Service) SetAudioInputAttributes(args *SetAudioInputAttributesArgs) (*SetAudioInputAttributesResponse, error)
- func (s *Service) SetLineInLevel(args *SetLineInLevelArgs) (*SetLineInLevelResponse, error)
- func (s *Service) StartTransmissionToGroup(args *StartTransmissionToGroupArgs) (*StartTransmissionToGroupResponse, error)
- func (s *Service) StopTransmissionToGroup(args *StopTransmissionToGroupArgs) (*StopTransmissionToGroupResponse, error)
- type ServiceOption
- type SetAudioInputAttributesArgs
- type SetAudioInputAttributesResponse
- type SetLineInLevelArgs
- type SetLineInLevelResponse
- type StartTransmissionToGroupArgs
- type StartTransmissionToGroupResponse
- type StopTransmissionToGroupArgs
- type StopTransmissionToGroupResponse
- type UpnpEvent
Constants ¶
View Source
const ( ServiceURN = "urn:schemas-upnp-org:service:AudioIn: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 AudioInputName ¶
type AudioInputName string
type GetAudioInputAttributesArgs ¶
type GetAudioInputAttributesArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetLineInLevelArgs ¶
type GetLineInLevelArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetLineInLevelResponse ¶
type LeftLineInLevel ¶
type LeftLineInLevel int32
type LineInConnected ¶
type LineInConnected bool
type Property ¶
type Property struct { XMLName xml.Name `xml:"property"` AudioInputName *AudioInputName `xml:"AudioInputName"` Icon *Icon `xml:"Icon"` LineInConnected *LineInConnected `xml:"LineInConnected"` LeftLineInLevel *LeftLineInLevel `xml:"LeftLineInLevel"` RightLineInLevel *RightLineInLevel `xml:"RightLineInLevel"` Playing *Playing `xml:"Playing"` }
type RightLineInLevel ¶
type RightLineInLevel int32
type SelectAudioArgs ¶
type SelectAudioResponse ¶
type SelectAudioResponse struct { }
type Service ¶
type Service struct { AudioInputName *AudioInputName Icon *Icon LineInConnected *LineInConnected LeftLineInLevel *LeftLineInLevel RightLineInLevel *RightLineInLevel Playing *Playing // contains filtered or unexported fields }
func NewService ¶
func NewService(opts ...ServiceOption) *Service
func (*Service) ControlEndpoint ¶
func (*Service) EventEndpoint ¶
func (*Service) GetAudioInputAttributes ¶
func (s *Service) GetAudioInputAttributes(args *GetAudioInputAttributesArgs) (*GetAudioInputAttributesResponse, error)
func (*Service) GetLineInLevel ¶
func (s *Service) GetLineInLevel(args *GetLineInLevelArgs) (*GetLineInLevelResponse, error)
func (*Service) ParseEvent ¶
func (*Service) SelectAudio ¶
func (s *Service) SelectAudio(args *SelectAudioArgs) (*SelectAudioResponse, error)
func (*Service) SetAudioInputAttributes ¶
func (s *Service) SetAudioInputAttributes(args *SetAudioInputAttributesArgs) (*SetAudioInputAttributesResponse, error)
func (*Service) SetLineInLevel ¶
func (s *Service) SetLineInLevel(args *SetLineInLevelArgs) (*SetLineInLevelResponse, error)
func (*Service) StartTransmissionToGroup ¶
func (s *Service) StartTransmissionToGroup(args *StartTransmissionToGroupArgs) (*StartTransmissionToGroupResponse, error)
func (*Service) StopTransmissionToGroup ¶
func (s *Service) StopTransmissionToGroup(args *StopTransmissionToGroupArgs) (*StopTransmissionToGroupResponse, error)
type ServiceOption ¶
type ServiceOption func(*Service)
func WithClient ¶
func WithClient(c *http.Client) ServiceOption
func WithLocation ¶
func WithLocation(u *url.URL) ServiceOption
type SetAudioInputAttributesResponse ¶
type SetAudioInputAttributesResponse struct { }
type SetLineInLevelArgs ¶
type SetLineInLevelResponse ¶
type SetLineInLevelResponse struct { }
type StartTransmissionToGroupResponse ¶
type StartTransmissionToGroupResponse struct {
CurrentTransportSettings string `xml:"CurrentTransportSettings"`
}
type StopTransmissionToGroupResponse ¶
type StopTransmissionToGroupResponse struct { }
Click to show internal directories.
Click to hide internal directories.