audioin

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 audioin is a generated AudioIn package.

Index

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 GetAudioInputAttributesResponse

type GetAudioInputAttributesResponse struct {
	CurrentName string `xml:"CurrentName"`
	CurrentIcon string `xml:"CurrentIcon"`
}

type GetLineInLevelArgs

type GetLineInLevelArgs struct {
	Xmlns string `xml:"xmlns:u,attr"`
}

type GetLineInLevelResponse

type GetLineInLevelResponse struct {
	CurrentLeftLineInLevel  int32 `xml:"CurrentLeftLineInLevel"`
	CurrentRightLineInLevel int32 `xml:"CurrentRightLineInLevel"`
}

type Icon

type Icon string

type LeftLineInLevel

type LeftLineInLevel int32

type LineInConnected

type LineInConnected bool

type Playing

type Playing 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 SelectAudioArgs struct {
	Xmlns    string `xml:"xmlns:u,attr"`
	ObjectID string `xml:"ObjectID"`
}

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

func (s *Service) GetAudioInputAttributes(args *GetAudioInputAttributesArgs) (*GetAudioInputAttributesResponse, error)

func (*Service) GetLineInLevel

func (s *Service) GetLineInLevel(args *GetLineInLevelArgs) (*GetLineInLevelResponse, error)

func (*Service) Location

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

func (*Service) ParseEvent

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

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 SetAudioInputAttributesArgs

type SetAudioInputAttributesArgs struct {
	Xmlns       string `xml:"xmlns:u,attr"`
	DesiredName string `xml:"DesiredName"`
	DesiredIcon string `xml:"DesiredIcon"`
}

type SetAudioInputAttributesResponse

type SetAudioInputAttributesResponse struct {
}

type SetLineInLevelArgs

type SetLineInLevelArgs struct {
	Xmlns                   string `xml:"xmlns:u,attr"`
	DesiredLeftLineInLevel  int32  `xml:"DesiredLeftLineInLevel"`
	DesiredRightLineInLevel int32  `xml:"DesiredRightLineInLevel"`
}

type SetLineInLevelResponse

type SetLineInLevelResponse struct {
}

type StartTransmissionToGroupArgs

type StartTransmissionToGroupArgs struct {
	Xmlns         string `xml:"xmlns:u,attr"`
	CoordinatorID string `xml:"CoordinatorID"`
}

type StartTransmissionToGroupResponse

type StartTransmissionToGroupResponse struct {
	CurrentTransportSettings string `xml:"CurrentTransportSettings"`
}

type StopTransmissionToGroupArgs

type StopTransmissionToGroupArgs struct {
	Xmlns         string `xml:"xmlns:u,attr"`
	CoordinatorID string `xml:"CoordinatorID"`
}

type StopTransmissionToGroupResponse

type StopTransmissionToGroupResponse 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