Documentation ¶
Overview ¶
Client for UPnP Device Control Protocol OpenHome.
This DCP is documented in detail at: - http://wiki.openhome.org/wiki/Av:Developer
Typically, use one of the New* functions to create clients for services.
Index ¶
- Constants
- type Credentials1
- func NewCredentials1Clients() (clients []*Credentials1, errors []error, err error)
- func NewCredentials1ClientsByURL(loc *url.URL) ([]*Credentials1, error)
- func NewCredentials1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Credentials1, error)
- func NewCredentials1ClientsCtx(ctx context.Context) (clients []*Credentials1, errors []error, err error)
- func NewCredentials1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Credentials1, error)
- func (client *Credentials1) Clear(Id string) (err error)
- func (client *Credentials1) ClearCtx(ctx context.Context, Id string) (err error)
- func (client *Credentials1) Get(Id string) (UserName string, Password []byte, Enabled bool, Status string, Data string, ...)
- func (client *Credentials1) GetCtx(ctx context.Context, Id string) (UserName string, Password []byte, Enabled bool, Status string, Data string, ...)
- func (client *Credentials1) GetIds() (Ids string, err error)
- func (client *Credentials1) GetIdsCtx(ctx context.Context) (Ids string, err error)
- func (client *Credentials1) GetPublicKey() (PublicKey string, err error)
- func (client *Credentials1) GetPublicKeyCtx(ctx context.Context) (PublicKey string, err error)
- func (client *Credentials1) GetSequenceNumber() (SequenceNumber uint32, err error)
- func (client *Credentials1) GetSequenceNumberCtx(ctx context.Context) (SequenceNumber uint32, err error)
- func (client *Credentials1) Login(Id string) (Token string, err error)
- func (client *Credentials1) LoginCtx(ctx context.Context, Id string) (Token string, err error)
- func (client *Credentials1) ReLogin(Id string, CurrentToken string) (NewToken string, err error)
- func (client *Credentials1) ReLoginCtx(ctx context.Context, Id string, CurrentToken string) (NewToken string, err error)
- func (client *Credentials1) Set(Id string, UserName string, Password []byte) (err error)
- func (client *Credentials1) SetCtx(ctx context.Context, Id string, UserName string, Password []byte) (err error)
- func (client *Credentials1) SetEnabled(Id string, Enabled bool) (err error)
- func (client *Credentials1) SetEnabledCtx(ctx context.Context, Id string, Enabled bool) (err error)
- type Debug1
- func NewDebug1Clients() (clients []*Debug1, errors []error, err error)
- func NewDebug1ClientsByURL(loc *url.URL) ([]*Debug1, error)
- func NewDebug1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Debug1, error)
- func NewDebug1ClientsCtx(ctx context.Context) (clients []*Debug1, errors []error, err error)
- func NewDebug1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Debug1, error)
- type Exakt1
- func NewExakt1Clients() (clients []*Exakt1, errors []error, err error)
- func NewExakt1ClientsByURL(loc *url.URL) ([]*Exakt1, error)
- func NewExakt1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Exakt1, error)
- func NewExakt1ClientsCtx(ctx context.Context) (clients []*Exakt1, errors []error, err error)
- func NewExakt1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Exakt1, error)
- func (client *Exakt1) ConnectionStatus() (ConnectionStatus string, err error)
- func (client *Exakt1) ConnectionStatusCtx(ctx context.Context) (ConnectionStatus string, err error)
- func (client *Exakt1) DeviceList() (List string, err error)
- func (client *Exakt1) DeviceListCtx(ctx context.Context) (List string, err error)
- func (client *Exakt1) DeviceSettings(DeviceId string) (Settings string, err error)
- func (client *Exakt1) DeviceSettingsCtx(ctx context.Context, DeviceId string) (Settings string, err error)
- func (client *Exakt1) Reprogram(DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt1) ReprogramCtx(ctx context.Context, DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt1) ReprogramFallback(DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt1) ReprogramFallbackCtx(ctx context.Context, DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt1) Set(DeviceId string, BankId uint32, FileUri *url.URL, Mute bool, Persist bool) (err error)
- func (client *Exakt1) SetCtx(ctx context.Context, DeviceId string, BankId uint32, FileUri *url.URL, ...) (err error)
- type Exakt2
- func NewExakt2Clients() (clients []*Exakt2, errors []error, err error)
- func NewExakt2ClientsByURL(loc *url.URL) ([]*Exakt2, error)
- func NewExakt2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Exakt2, error)
- func NewExakt2ClientsCtx(ctx context.Context) (clients []*Exakt2, errors []error, err error)
- func NewExakt2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Exakt2, error)
- func (client *Exakt2) ConnectionStatus() (ConnectionStatus string, err error)
- func (client *Exakt2) ConnectionStatusCtx(ctx context.Context) (ConnectionStatus string, err error)
- func (client *Exakt2) DeviceList() (List string, err error)
- func (client *Exakt2) DeviceListCtx(ctx context.Context) (List string, err error)
- func (client *Exakt2) DeviceSettings(DeviceId string) (Settings string, err error)
- func (client *Exakt2) DeviceSettingsCtx(ctx context.Context, DeviceId string) (Settings string, err error)
- func (client *Exakt2) Reprogram(DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt2) ReprogramCtx(ctx context.Context, DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt2) ReprogramFallback(DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt2) ReprogramFallbackCtx(ctx context.Context, DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt2) Set(DeviceId string, BankId uint32, FileUri *url.URL, Mute bool, Persist bool) (err error)
- func (client *Exakt2) SetCtx(ctx context.Context, DeviceId string, BankId uint32, FileUri *url.URL, ...) (err error)
- func (client *Exakt2) Version() (Version string, err error)
- func (client *Exakt2) VersionCtx(ctx context.Context) (Version string, err error)
- type Exakt3
- func NewExakt3Clients() (clients []*Exakt3, errors []error, err error)
- func NewExakt3ClientsByURL(loc *url.URL) ([]*Exakt3, error)
- func NewExakt3ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Exakt3, error)
- func NewExakt3ClientsCtx(ctx context.Context) (clients []*Exakt3, errors []error, err error)
- func NewExakt3ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Exakt3, error)
- func (client *Exakt3) AudioChannels() (AudioChannels string, err error)
- func (client *Exakt3) AudioChannelsCtx(ctx context.Context) (AudioChannels string, err error)
- func (client *Exakt3) ChannelMap() (ChannelMap string, err error)
- func (client *Exakt3) ChannelMapCtx(ctx context.Context) (ChannelMap string, err error)
- func (client *Exakt3) ConnectionStatus() (ConnectionStatus string, err error)
- func (client *Exakt3) ConnectionStatusCtx(ctx context.Context) (ConnectionStatus string, err error)
- func (client *Exakt3) DeviceList() (List string, err error)
- func (client *Exakt3) DeviceListCtx(ctx context.Context) (List string, err error)
- func (client *Exakt3) DeviceSettings(DeviceId string) (Settings string, err error)
- func (client *Exakt3) DeviceSettingsCtx(ctx context.Context, DeviceId string) (Settings string, err error)
- func (client *Exakt3) Reprogram(DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt3) ReprogramCtx(ctx context.Context, DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt3) ReprogramFallback(DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt3) ReprogramFallbackCtx(ctx context.Context, DeviceId string, FileUri *url.URL) (err error)
- func (client *Exakt3) Set(DeviceId string, BankId uint32, FileUri *url.URL, Mute bool, Persist bool) (err error)
- func (client *Exakt3) SetAudioChannels(AudioChannels string) (err error)
- func (client *Exakt3) SetAudioChannelsCtx(ctx context.Context, AudioChannels string) (err error)
- func (client *Exakt3) SetChannelMap(ChannelMap string) (err error)
- func (client *Exakt3) SetChannelMapCtx(ctx context.Context, ChannelMap string) (err error)
- func (client *Exakt3) SetCtx(ctx context.Context, DeviceId string, BankId uint32, FileUri *url.URL, ...) (err error)
- func (client *Exakt3) Version() (Version string, err error)
- func (client *Exakt3) VersionCtx(ctx context.Context) (Version string, err error)
- type Info1
- func NewInfo1Clients() (clients []*Info1, errors []error, err error)
- func NewInfo1ClientsByURL(loc *url.URL) ([]*Info1, error)
- func NewInfo1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Info1, error)
- func NewInfo1ClientsCtx(ctx context.Context) (clients []*Info1, errors []error, err error)
- func NewInfo1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Info1, error)
- func (client *Info1) Counters() (TrackCount uint32, DetailsCount uint32, MetatextCount uint32, err error)
- func (client *Info1) CountersCtx(ctx context.Context) (TrackCount uint32, DetailsCount uint32, MetatextCount uint32, err error)
- func (client *Info1) Details() (Duration uint32, BitRate uint32, BitDepth uint32, SampleRate uint32, ...)
- func (client *Info1) DetailsCtx(ctx context.Context) (Duration uint32, BitRate uint32, BitDepth uint32, SampleRate uint32, ...)
- func (client *Info1) Metatext() (Value string, err error)
- func (client *Info1) MetatextCtx(ctx context.Context) (Value string, err error)
- func (client *Info1) Track() (Uri string, Metadata string, err error)
- func (client *Info1) TrackCtx(ctx context.Context) (Uri string, Metadata string, err error)
- type MediaServer1
- func NewMediaServer1Clients() (clients []*MediaServer1, errors []error, err error)
- func NewMediaServer1ClientsByURL(loc *url.URL) ([]*MediaServer1, error)
- func NewMediaServer1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*MediaServer1, error)
- func NewMediaServer1ClientsCtx(ctx context.Context) (clients []*MediaServer1, errors []error, err error)
- func NewMediaServer1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*MediaServer1, error)
- func (client *MediaServer1) Attributes() (Value string, err error)
- func (client *MediaServer1) AttributesCtx(ctx context.Context) (Value string, err error)
- func (client *MediaServer1) BrowsePort() (Value uint32, err error)
- func (client *MediaServer1) BrowsePortCtx(ctx context.Context) (Value uint32, err error)
- func (client *MediaServer1) Manufacturer() (Name string, Info string, Url string, ImageUri string, err error)
- func (client *MediaServer1) ManufacturerCtx(ctx context.Context) (Name string, Info string, Url string, ImageUri string, err error)
- func (client *MediaServer1) Model() (Name string, Info string, Url string, ImageUri string, err error)
- func (client *MediaServer1) ModelCtx(ctx context.Context) (Name string, Info string, Url string, ImageUri string, err error)
- func (client *MediaServer1) Product() (Name string, Info string, Url string, ImageUri string, err error)
- func (client *MediaServer1) ProductCtx(ctx context.Context) (Name string, Info string, Url string, ImageUri string, err error)
- func (client *MediaServer1) QueryPort() (Value uint32, err error)
- func (client *MediaServer1) QueryPortCtx(ctx context.Context) (Value uint32, err error)
- func (client *MediaServer1) UpdateCount() (Value uint32, err error)
- func (client *MediaServer1) UpdateCountCtx(ctx context.Context) (Value uint32, err error)
- type NetworkMonitor1
- func NewNetworkMonitor1Clients() (clients []*NetworkMonitor1, errors []error, err error)
- func NewNetworkMonitor1ClientsByURL(loc *url.URL) ([]*NetworkMonitor1, error)
- func NewNetworkMonitor1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*NetworkMonitor1, error)
- func NewNetworkMonitor1ClientsCtx(ctx context.Context) (clients []*NetworkMonitor1, errors []error, err error)
- func NewNetworkMonitor1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*NetworkMonitor1, error)
- func (client *NetworkMonitor1) Name() (Name string, err error)
- func (client *NetworkMonitor1) NameCtx(ctx context.Context) (Name string, err error)
- func (client *NetworkMonitor1) Ports() (Sender uint32, Receiver uint32, Results uint32, err error)
- func (client *NetworkMonitor1) PortsCtx(ctx context.Context) (Sender uint32, Receiver uint32, Results uint32, err error)
- type Pins1
- func NewPins1Clients() (clients []*Pins1, errors []error, err error)
- func NewPins1ClientsByURL(loc *url.URL) ([]*Pins1, error)
- func NewPins1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Pins1, error)
- func NewPins1ClientsCtx(ctx context.Context) (clients []*Pins1, errors []error, err error)
- func NewPins1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Pins1, error)
- func (client *Pins1) Clear(Id uint32) (err error)
- func (client *Pins1) ClearCtx(ctx context.Context, Id uint32) (err error)
- func (client *Pins1) GetDeviceAccountMax() (DeviceMax uint32, AccountMax uint32, err error)
- func (client *Pins1) GetDeviceAccountMaxCtx(ctx context.Context) (DeviceMax uint32, AccountMax uint32, err error)
- func (client *Pins1) GetIdArray() (IdArray string, err error)
- func (client *Pins1) GetIdArrayCtx(ctx context.Context) (IdArray string, err error)
- func (client *Pins1) GetModes() (Modes string, err error)
- func (client *Pins1) GetModesCtx(ctx context.Context) (Modes string, err error)
- func (client *Pins1) InvokeId(Id uint32) (err error)
- func (client *Pins1) InvokeIdCtx(ctx context.Context, Id uint32) (err error)
- func (client *Pins1) InvokeIndex(Index uint32) (err error)
- func (client *Pins1) InvokeIndexCtx(ctx context.Context, Index uint32) (err error)
- func (client *Pins1) ReadList(Ids string) (List string, err error)
- func (client *Pins1) ReadListCtx(ctx context.Context, Ids string) (List string, err error)
- func (client *Pins1) SetAccount(Index uint32, Mode string, Type string, Uri string, Title string, ...) (err error)
- func (client *Pins1) SetAccountCtx(ctx context.Context, Index uint32, Mode string, Type string, Uri string, ...) (err error)
- func (client *Pins1) SetDevice(Index uint32, Mode string, Type string, Uri string, Title string, ...) (err error)
- func (client *Pins1) SetDeviceCtx(ctx context.Context, Index uint32, Mode string, Type string, Uri string, ...) (err error)
- func (client *Pins1) Swap(Index1 uint32, Index2 uint32) (err error)
- func (client *Pins1) SwapCtx(ctx context.Context, Index1 uint32, Index2 uint32) (err error)
- type Playlist1
- func NewPlaylist1Clients() (clients []*Playlist1, errors []error, err error)
- func NewPlaylist1ClientsByURL(loc *url.URL) ([]*Playlist1, error)
- func NewPlaylist1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Playlist1, error)
- func NewPlaylist1ClientsCtx(ctx context.Context) (clients []*Playlist1, errors []error, err error)
- func NewPlaylist1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Playlist1, error)
- func (client *Playlist1) DeleteAll() (err error)
- func (client *Playlist1) DeleteAllCtx(ctx context.Context) (err error)
- func (client *Playlist1) DeleteId(Value uint32) (err error)
- func (client *Playlist1) DeleteIdCtx(ctx context.Context, Value uint32) (err error)
- func (client *Playlist1) Id() (Value uint32, err error)
- func (client *Playlist1) IdArray() (Token uint32, Array []byte, err error)
- func (client *Playlist1) IdArrayChanged(Token uint32) (Value bool, err error)
- func (client *Playlist1) IdArrayChangedCtx(ctx context.Context, Token uint32) (Value bool, err error)
- func (client *Playlist1) IdArrayCtx(ctx context.Context) (Token uint32, Array []byte, err error)
- func (client *Playlist1) IdCtx(ctx context.Context) (Value uint32, err error)
- func (client *Playlist1) Insert(AfterId uint32, Uri string, Metadata string) (NewId uint32, err error)
- func (client *Playlist1) InsertCtx(ctx context.Context, AfterId uint32, Uri string, Metadata string) (NewId uint32, err error)
- func (client *Playlist1) Next() (err error)
- func (client *Playlist1) NextCtx(ctx context.Context) (err error)
- func (client *Playlist1) Pause() (err error)
- func (client *Playlist1) PauseCtx(ctx context.Context) (err error)
- func (client *Playlist1) Play() (err error)
- func (client *Playlist1) PlayCtx(ctx context.Context) (err error)
- func (client *Playlist1) Previous() (err error)
- func (client *Playlist1) PreviousCtx(ctx context.Context) (err error)
- func (client *Playlist1) ProtocolInfo() (Value string, err error)
- func (client *Playlist1) ProtocolInfoCtx(ctx context.Context) (Value string, err error)
- func (client *Playlist1) Read(Id uint32) (Uri string, Metadata string, err error)
- func (client *Playlist1) ReadCtx(ctx context.Context, Id uint32) (Uri string, Metadata string, err error)
- func (client *Playlist1) ReadList(IdList string) (TrackList string, err error)
- func (client *Playlist1) ReadListCtx(ctx context.Context, IdList string) (TrackList string, err error)
- func (client *Playlist1) Repeat() (Value bool, err error)
- func (client *Playlist1) RepeatCtx(ctx context.Context) (Value bool, err error)
- func (client *Playlist1) SeekId(Value uint32) (err error)
- func (client *Playlist1) SeekIdCtx(ctx context.Context, Value uint32) (err error)
- func (client *Playlist1) SeekIndex(Value uint32) (err error)
- func (client *Playlist1) SeekIndexCtx(ctx context.Context, Value uint32) (err error)
- func (client *Playlist1) SeekSecondAbsolute(Value uint32) (err error)
- func (client *Playlist1) SeekSecondAbsoluteCtx(ctx context.Context, Value uint32) (err error)
- func (client *Playlist1) SeekSecondRelative(Value int32) (err error)
- func (client *Playlist1) SeekSecondRelativeCtx(ctx context.Context, Value int32) (err error)
- func (client *Playlist1) SetRepeat(Value bool) (err error)
- func (client *Playlist1) SetRepeatCtx(ctx context.Context, Value bool) (err error)
- func (client *Playlist1) SetShuffle(Value bool) (err error)
- func (client *Playlist1) SetShuffleCtx(ctx context.Context, Value bool) (err error)
- func (client *Playlist1) Shuffle() (Value bool, err error)
- func (client *Playlist1) ShuffleCtx(ctx context.Context) (Value bool, err error)
- func (client *Playlist1) Stop() (err error)
- func (client *Playlist1) StopCtx(ctx context.Context) (err error)
- func (client *Playlist1) TracksMax() (Value uint32, err error)
- func (client *Playlist1) TracksMaxCtx(ctx context.Context) (Value uint32, err error)
- func (client *Playlist1) TransportState() (Value string, err error)
- func (client *Playlist1) TransportStateCtx(ctx context.Context) (Value string, err error)
- type PlaylistManager1
- func NewPlaylistManager1Clients() (clients []*PlaylistManager1, errors []error, err error)
- func NewPlaylistManager1ClientsByURL(loc *url.URL) ([]*PlaylistManager1, error)
- func NewPlaylistManager1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*PlaylistManager1, error)
- func NewPlaylistManager1ClientsCtx(ctx context.Context) (clients []*PlaylistManager1, errors []error, err error)
- func NewPlaylistManager1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*PlaylistManager1, error)
- func (client *PlaylistManager1) DeleteAll(Id uint32) (err error)
- func (client *PlaylistManager1) DeleteAllCtx(ctx context.Context, Id uint32) (err error)
- func (client *PlaylistManager1) DeleteId(Id uint32, TrackId uint32) (err error)
- func (client *PlaylistManager1) DeleteIdCtx(ctx context.Context, Id uint32, TrackId uint32) (err error)
- func (client *PlaylistManager1) ImagesXml() (ImagesXml string, err error)
- func (client *PlaylistManager1) ImagesXmlCtx(ctx context.Context) (ImagesXml string, err error)
- func (client *PlaylistManager1) Insert(Id uint32, AfterTrackId uint32, Metadata string) (NewTrackId uint32, err error)
- func (client *PlaylistManager1) InsertCtx(ctx context.Context, Id uint32, AfterTrackId uint32, Metadata string) (NewTrackId uint32, err error)
- func (client *PlaylistManager1) Metadata() (Metadata string, err error)
- func (client *PlaylistManager1) MetadataCtx(ctx context.Context) (Metadata string, err error)
- func (client *PlaylistManager1) PlaylistArrays() (Token uint32, IdArray []byte, TokenArray []byte, err error)
- func (client *PlaylistManager1) PlaylistArraysChanged(Token uint32) (Value bool, err error)
- func (client *PlaylistManager1) PlaylistArraysChangedCtx(ctx context.Context, Token uint32) (Value bool, err error)
- func (client *PlaylistManager1) PlaylistArraysCtx(ctx context.Context) (Token uint32, IdArray []byte, TokenArray []byte, err error)
- func (client *PlaylistManager1) PlaylistDeleteId(Value uint32) (err error)
- func (client *PlaylistManager1) PlaylistDeleteIdCtx(ctx context.Context, Value uint32) (err error)
- func (client *PlaylistManager1) PlaylistInsert(AfterId uint32, Name string, Description string, ImageId uint32) (NewId uint32, err error)
- func (client *PlaylistManager1) PlaylistInsertCtx(ctx context.Context, AfterId uint32, Name string, Description string, ...) (NewId uint32, err error)
- func (client *PlaylistManager1) PlaylistMove(Id uint32, AfterId uint32) (err error)
- func (client *PlaylistManager1) PlaylistMoveCtx(ctx context.Context, Id uint32, AfterId uint32) (err error)
- func (client *PlaylistManager1) PlaylistRead(Id uint32) (Name string, Description string, ImageId uint32, err error)
- func (client *PlaylistManager1) PlaylistReadArray(Id uint32) (Array []byte, err error)
- func (client *PlaylistManager1) PlaylistReadArrayCtx(ctx context.Context, Id uint32) (Array []byte, err error)
- func (client *PlaylistManager1) PlaylistReadCtx(ctx context.Context, Id uint32) (Name string, Description string, ImageId uint32, err error)
- func (client *PlaylistManager1) PlaylistReadList(IdList string) (PlaylistList string, err error)
- func (client *PlaylistManager1) PlaylistReadListCtx(ctx context.Context, IdList string) (PlaylistList string, err error)
- func (client *PlaylistManager1) PlaylistSetDescription(Id uint32, Description string) (err error)
- func (client *PlaylistManager1) PlaylistSetDescriptionCtx(ctx context.Context, Id uint32, Description string) (err error)
- func (client *PlaylistManager1) PlaylistSetImageId(Id uint32, ImageId uint32) (err error)
- func (client *PlaylistManager1) PlaylistSetImageIdCtx(ctx context.Context, Id uint32, ImageId uint32) (err error)
- func (client *PlaylistManager1) PlaylistSetName(Id uint32, Name string) (err error)
- func (client *PlaylistManager1) PlaylistSetNameCtx(ctx context.Context, Id uint32, Name string) (err error)
- func (client *PlaylistManager1) PlaylistsMax() (Value uint32, err error)
- func (client *PlaylistManager1) PlaylistsMaxCtx(ctx context.Context) (Value uint32, err error)
- func (client *PlaylistManager1) Read(Id uint32, TrackId uint32) (Metadata string, err error)
- func (client *PlaylistManager1) ReadCtx(ctx context.Context, Id uint32, TrackId uint32) (Metadata string, err error)
- func (client *PlaylistManager1) ReadList(Id uint32, TrackIdList string) (TrackList string, err error)
- func (client *PlaylistManager1) ReadListCtx(ctx context.Context, Id uint32, TrackIdList string) (TrackList string, err error)
- func (client *PlaylistManager1) TracksMax() (Value uint32, err error)
- func (client *PlaylistManager1) TracksMaxCtx(ctx context.Context) (Value uint32, err error)
- type Product1
- func NewProduct1Clients() (clients []*Product1, errors []error, err error)
- func NewProduct1ClientsByURL(loc *url.URL) ([]*Product1, error)
- func NewProduct1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Product1, error)
- func NewProduct1ClientsCtx(ctx context.Context) (clients []*Product1, errors []error, err error)
- func NewProduct1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Product1, error)
- func (client *Product1) Attributes() (Value string, err error)
- func (client *Product1) AttributesCtx(ctx context.Context) (Value string, err error)
- func (client *Product1) Manufacturer() (Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product1) ManufacturerCtx(ctx context.Context) (Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product1) Model() (Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product1) ModelCtx(ctx context.Context) (Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product1) Product() (Room string, Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product1) ProductCtx(ctx context.Context) (Room string, Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product1) SetSourceIndex(Value uint32) (err error)
- func (client *Product1) SetSourceIndexByName(Value string) (err error)
- func (client *Product1) SetSourceIndexByNameCtx(ctx context.Context, Value string) (err error)
- func (client *Product1) SetSourceIndexCtx(ctx context.Context, Value uint32) (err error)
- func (client *Product1) SetStandby(Value bool) (err error)
- func (client *Product1) SetStandbyCtx(ctx context.Context, Value bool) (err error)
- func (client *Product1) Source(Index uint32) (SystemName string, Type string, Name string, Visible bool, err error)
- func (client *Product1) SourceCount() (Value uint32, err error)
- func (client *Product1) SourceCountCtx(ctx context.Context) (Value uint32, err error)
- func (client *Product1) SourceCtx(ctx context.Context, Index uint32) (SystemName string, Type string, Name string, Visible bool, err error)
- func (client *Product1) SourceIndex() (Value uint32, err error)
- func (client *Product1) SourceIndexCtx(ctx context.Context) (Value uint32, err error)
- func (client *Product1) SourceXml() (Value string, err error)
- func (client *Product1) SourceXmlChangeCount() (Value uint32, err error)
- func (client *Product1) SourceXmlChangeCountCtx(ctx context.Context) (Value uint32, err error)
- func (client *Product1) SourceXmlCtx(ctx context.Context) (Value string, err error)
- func (client *Product1) Standby() (Value bool, err error)
- func (client *Product1) StandbyCtx(ctx context.Context) (Value bool, err error)
- type Product2
- func NewProduct2Clients() (clients []*Product2, errors []error, err error)
- func NewProduct2ClientsByURL(loc *url.URL) ([]*Product2, error)
- func NewProduct2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Product2, error)
- func NewProduct2ClientsCtx(ctx context.Context) (clients []*Product2, errors []error, err error)
- func NewProduct2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Product2, error)
- func (client *Product2) Attributes() (Value string, err error)
- func (client *Product2) AttributesCtx(ctx context.Context) (Value string, err error)
- func (client *Product2) Manufacturer() (Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product2) ManufacturerCtx(ctx context.Context) (Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product2) Model() (Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product2) ModelCtx(ctx context.Context) (Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product2) Product() (Room string, Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product2) ProductCtx(ctx context.Context) (Room string, Name string, Info string, Url string, ImageUri string, err error)
- func (client *Product2) SetSourceBySystemName(Value string) (err error)
- func (client *Product2) SetSourceBySystemNameCtx(ctx context.Context, Value string) (err error)
- func (client *Product2) SetSourceIndex(Value uint32) (err error)
- func (client *Product2) SetSourceIndexByName(Value string) (err error)
- func (client *Product2) SetSourceIndexByNameCtx(ctx context.Context, Value string) (err error)
- func (client *Product2) SetSourceIndexCtx(ctx context.Context, Value uint32) (err error)
- func (client *Product2) SetStandby(Value bool) (err error)
- func (client *Product2) SetStandbyCtx(ctx context.Context, Value bool) (err error)
- func (client *Product2) Source(Index uint32) (SystemName string, Type string, Name string, Visible bool, err error)
- func (client *Product2) SourceCount() (Value uint32, err error)
- func (client *Product2) SourceCountCtx(ctx context.Context) (Value uint32, err error)
- func (client *Product2) SourceCtx(ctx context.Context, Index uint32) (SystemName string, Type string, Name string, Visible bool, err error)
- func (client *Product2) SourceIndex() (Value uint32, err error)
- func (client *Product2) SourceIndexCtx(ctx context.Context) (Value uint32, err error)
- func (client *Product2) SourceXml() (Value string, err error)
- func (client *Product2) SourceXmlChangeCount() (Value uint32, err error)
- func (client *Product2) SourceXmlChangeCountCtx(ctx context.Context) (Value uint32, err error)
- func (client *Product2) SourceXmlCtx(ctx context.Context) (Value string, err error)
- func (client *Product2) Standby() (Value bool, err error)
- func (client *Product2) StandbyCtx(ctx context.Context) (Value bool, err error)
- type Radio1
- func NewRadio1Clients() (clients []*Radio1, errors []error, err error)
- func NewRadio1ClientsByURL(loc *url.URL) ([]*Radio1, error)
- func NewRadio1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Radio1, error)
- func NewRadio1ClientsCtx(ctx context.Context) (clients []*Radio1, errors []error, err error)
- func NewRadio1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Radio1, error)
- func (client *Radio1) Channel() (Uri string, Metadata string, err error)
- func (client *Radio1) ChannelCtx(ctx context.Context) (Uri string, Metadata string, err error)
- func (client *Radio1) ChannelsMax() (Value uint32, err error)
- func (client *Radio1) ChannelsMaxCtx(ctx context.Context) (Value uint32, err error)
- func (client *Radio1) Id() (Value uint32, err error)
- func (client *Radio1) IdArray() (Token uint32, Array []byte, err error)
- func (client *Radio1) IdArrayChanged(Token uint32) (Value bool, err error)
- func (client *Radio1) IdArrayChangedCtx(ctx context.Context, Token uint32) (Value bool, err error)
- func (client *Radio1) IdArrayCtx(ctx context.Context) (Token uint32, Array []byte, err error)
- func (client *Radio1) IdCtx(ctx context.Context) (Value uint32, err error)
- func (client *Radio1) Pause() (err error)
- func (client *Radio1) PauseCtx(ctx context.Context) (err error)
- func (client *Radio1) Play() (err error)
- func (client *Radio1) PlayCtx(ctx context.Context) (err error)
- func (client *Radio1) ProtocolInfo() (Value string, err error)
- func (client *Radio1) ProtocolInfoCtx(ctx context.Context) (Value string, err error)
- func (client *Radio1) Read(Id uint32) (Metadata string, err error)
- func (client *Radio1) ReadCtx(ctx context.Context, Id uint32) (Metadata string, err error)
- func (client *Radio1) ReadList(IdList string) (ChannelList string, err error)
- func (client *Radio1) ReadListCtx(ctx context.Context, IdList string) (ChannelList string, err error)
- func (client *Radio1) SeekSecondAbsolute(Value uint32) (err error)
- func (client *Radio1) SeekSecondAbsoluteCtx(ctx context.Context, Value uint32) (err error)
- func (client *Radio1) SeekSecondRelative(Value int32) (err error)
- func (client *Radio1) SeekSecondRelativeCtx(ctx context.Context, Value int32) (err error)
- func (client *Radio1) SetChannel(Uri string, Metadata string) (err error)
- func (client *Radio1) SetChannelCtx(ctx context.Context, Uri string, Metadata string) (err error)
- func (client *Radio1) SetId(Value uint32, Uri string) (err error)
- func (client *Radio1) SetIdCtx(ctx context.Context, Value uint32, Uri string) (err error)
- func (client *Radio1) Stop() (err error)
- func (client *Radio1) StopCtx(ctx context.Context) (err error)
- func (client *Radio1) TransportState() (Value string, err error)
- func (client *Radio1) TransportStateCtx(ctx context.Context) (Value string, err error)
- type Receiver1
- func NewReceiver1Clients() (clients []*Receiver1, errors []error, err error)
- func NewReceiver1ClientsByURL(loc *url.URL) ([]*Receiver1, error)
- func NewReceiver1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Receiver1, error)
- func NewReceiver1ClientsCtx(ctx context.Context) (clients []*Receiver1, errors []error, err error)
- func NewReceiver1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Receiver1, error)
- func (client *Receiver1) Play() (err error)
- func (client *Receiver1) PlayCtx(ctx context.Context) (err error)
- func (client *Receiver1) ProtocolInfo() (Value string, err error)
- func (client *Receiver1) ProtocolInfoCtx(ctx context.Context) (Value string, err error)
- func (client *Receiver1) Sender() (Uri string, Metadata string, err error)
- func (client *Receiver1) SenderCtx(ctx context.Context) (Uri string, Metadata string, err error)
- func (client *Receiver1) SetSender(Uri string, Metadata string) (err error)
- func (client *Receiver1) SetSenderCtx(ctx context.Context, Uri string, Metadata string) (err error)
- func (client *Receiver1) Stop() (err error)
- func (client *Receiver1) StopCtx(ctx context.Context) (err error)
- func (client *Receiver1) TransportState() (Value string, err error)
- func (client *Receiver1) TransportStateCtx(ctx context.Context) (Value string, err error)
- type Sender1
- func NewSender1Clients() (clients []*Sender1, errors []error, err error)
- func NewSender1ClientsByURL(loc *url.URL) ([]*Sender1, error)
- func NewSender1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Sender1, error)
- func NewSender1ClientsCtx(ctx context.Context) (clients []*Sender1, errors []error, err error)
- func NewSender1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Sender1, error)
- func (client *Sender1) Attributes() (Value string, err error)
- func (client *Sender1) AttributesCtx(ctx context.Context) (Value string, err error)
- func (client *Sender1) Audio() (Value bool, err error)
- func (client *Sender1) AudioCtx(ctx context.Context) (Value bool, err error)
- func (client *Sender1) Metadata() (Value string, err error)
- func (client *Sender1) MetadataCtx(ctx context.Context) (Value string, err error)
- func (client *Sender1) PresentationUrl() (Value string, err error)
- func (client *Sender1) PresentationUrlCtx(ctx context.Context) (Value string, err error)
- func (client *Sender1) Status() (Value string, err error)
- func (client *Sender1) StatusCtx(ctx context.Context) (Value string, err error)
- type Sender2
- func NewSender2Clients() (clients []*Sender2, errors []error, err error)
- func NewSender2ClientsByURL(loc *url.URL) ([]*Sender2, error)
- func NewSender2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Sender2, error)
- func NewSender2ClientsCtx(ctx context.Context) (clients []*Sender2, errors []error, err error)
- func NewSender2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Sender2, error)
- func (client *Sender2) Attributes() (Value string, err error)
- func (client *Sender2) AttributesCtx(ctx context.Context) (Value string, err error)
- func (client *Sender2) Audio() (Value bool, err error)
- func (client *Sender2) AudioCtx(ctx context.Context) (Value bool, err error)
- func (client *Sender2) Enabled() (Value bool, err error)
- func (client *Sender2) EnabledCtx(ctx context.Context) (Value bool, err error)
- func (client *Sender2) Metadata() (Value string, err error)
- func (client *Sender2) MetadataCtx(ctx context.Context) (Value string, err error)
- func (client *Sender2) PresentationUrl() (Value string, err error)
- func (client *Sender2) PresentationUrlCtx(ctx context.Context) (Value string, err error)
- func (client *Sender2) Status() (Value string, err error)
- func (client *Sender2) Status2() (Value string, err error)
- func (client *Sender2) Status2Ctx(ctx context.Context) (Value string, err error)
- func (client *Sender2) StatusCtx(ctx context.Context) (Value string, err error)
- type SubscriptionLongPoll1
- func NewSubscriptionLongPoll1Clients() (clients []*SubscriptionLongPoll1, errors []error, err error)
- func NewSubscriptionLongPoll1ClientsByURL(loc *url.URL) ([]*SubscriptionLongPoll1, error)
- func NewSubscriptionLongPoll1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*SubscriptionLongPoll1, error)
- func NewSubscriptionLongPoll1ClientsCtx(ctx context.Context) (clients []*SubscriptionLongPoll1, errors []error, err error)
- func NewSubscriptionLongPoll1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*SubscriptionLongPoll1, error)
- func (client *SubscriptionLongPoll1) GetPropertyUpdates(ClientId string) (Updates string, err error)
- func (client *SubscriptionLongPoll1) GetPropertyUpdatesCtx(ctx context.Context, ClientId string) (Updates string, err error)
- func (client *SubscriptionLongPoll1) Renew(Sid string, RequestedDuration uint32) (Duration uint32, err error)
- func (client *SubscriptionLongPoll1) RenewCtx(ctx context.Context, Sid string, RequestedDuration uint32) (Duration uint32, err error)
- func (client *SubscriptionLongPoll1) Subscribe(ClientId string, Udn string, Service string, RequestedDuration uint32) (Sid string, Duration uint32, err error)
- func (client *SubscriptionLongPoll1) SubscribeCtx(ctx context.Context, ClientId string, Udn string, Service string, ...) (Sid string, Duration uint32, err error)
- func (client *SubscriptionLongPoll1) Unsubscribe(Sid string) (err error)
- func (client *SubscriptionLongPoll1) UnsubscribeCtx(ctx context.Context, Sid string) (err error)
- type Time1
- func NewTime1Clients() (clients []*Time1, errors []error, err error)
- func NewTime1ClientsByURL(loc *url.URL) ([]*Time1, error)
- func NewTime1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Time1, error)
- func NewTime1ClientsCtx(ctx context.Context) (clients []*Time1, errors []error, err error)
- func NewTime1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Time1, error)
- type Transport1
- func NewTransport1Clients() (clients []*Transport1, errors []error, err error)
- func NewTransport1ClientsByURL(loc *url.URL) ([]*Transport1, error)
- func NewTransport1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Transport1, error)
- func NewTransport1ClientsCtx(ctx context.Context) (clients []*Transport1, errors []error, err error)
- func NewTransport1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Transport1, error)
- func (client *Transport1) ModeInfo() (CanSkipNext bool, CanSkipPrevious bool, CanRepeat bool, CanShuffle bool, ...)
- func (client *Transport1) ModeInfoCtx(ctx context.Context) (CanSkipNext bool, CanSkipPrevious bool, CanRepeat bool, CanShuffle bool, ...)
- func (client *Transport1) Modes() (Modes string, err error)
- func (client *Transport1) ModesCtx(ctx context.Context) (Modes string, err error)
- func (client *Transport1) Pause() (err error)
- func (client *Transport1) PauseCtx(ctx context.Context) (err error)
- func (client *Transport1) Play() (err error)
- func (client *Transport1) PlayAs(Mode string, Command string) (err error)
- func (client *Transport1) PlayAsCtx(ctx context.Context, Mode string, Command string) (err error)
- func (client *Transport1) PlayCtx(ctx context.Context) (err error)
- func (client *Transport1) Repeat() (Repeat bool, err error)
- func (client *Transport1) RepeatCtx(ctx context.Context) (Repeat bool, err error)
- func (client *Transport1) SeekSecondAbsolute(StreamId uint32, SecondAbsolute uint32) (err error)
- func (client *Transport1) SeekSecondAbsoluteCtx(ctx context.Context, StreamId uint32, SecondAbsolute uint32) (err error)
- func (client *Transport1) SeekSecondRelative(StreamId uint32, SecondRelative int32) (err error)
- func (client *Transport1) SeekSecondRelativeCtx(ctx context.Context, StreamId uint32, SecondRelative int32) (err error)
- func (client *Transport1) SetRepeat(Repeat bool) (err error)
- func (client *Transport1) SetRepeatCtx(ctx context.Context, Repeat bool) (err error)
- func (client *Transport1) SetShuffle(Shuffle bool) (err error)
- func (client *Transport1) SetShuffleCtx(ctx context.Context, Shuffle bool) (err error)
- func (client *Transport1) Shuffle() (Shuffle bool, err error)
- func (client *Transport1) ShuffleCtx(ctx context.Context) (Shuffle bool, err error)
- func (client *Transport1) SkipNext() (err error)
- func (client *Transport1) SkipNextCtx(ctx context.Context) (err error)
- func (client *Transport1) SkipPrevious() (err error)
- func (client *Transport1) SkipPreviousCtx(ctx context.Context) (err error)
- func (client *Transport1) Stop() (err error)
- func (client *Transport1) StopCtx(ctx context.Context) (err error)
- func (client *Transport1) StreamId() (StreamId uint32, err error)
- func (client *Transport1) StreamIdCtx(ctx context.Context) (StreamId uint32, err error)
- func (client *Transport1) StreamInfo() (StreamId uint32, CanSeek bool, CanPause bool, err error)
- func (client *Transport1) StreamInfoCtx(ctx context.Context) (StreamId uint32, CanSeek bool, CanPause bool, err error)
- func (client *Transport1) TransportState() (State string, err error)
- func (client *Transport1) TransportStateCtx(ctx context.Context) (State string, err error)
- type Volume1
- func NewVolume1Clients() (clients []*Volume1, errors []error, err error)
- func NewVolume1ClientsByURL(loc *url.URL) ([]*Volume1, error)
- func NewVolume1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Volume1, error)
- func NewVolume1ClientsCtx(ctx context.Context) (clients []*Volume1, errors []error, err error)
- func NewVolume1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Volume1, error)
- func (client *Volume1) Balance() (Value int32, err error)
- func (client *Volume1) BalanceCtx(ctx context.Context) (Value int32, err error)
- func (client *Volume1) BalanceDec() (err error)
- func (client *Volume1) BalanceDecCtx(ctx context.Context) (err error)
- func (client *Volume1) BalanceInc() (err error)
- func (client *Volume1) BalanceIncCtx(ctx context.Context) (err error)
- func (client *Volume1) Characteristics() (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, ...)
- func (client *Volume1) CharacteristicsCtx(ctx context.Context) (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, ...)
- func (client *Volume1) Fade() (Value int32, err error)
- func (client *Volume1) FadeCtx(ctx context.Context) (Value int32, err error)
- func (client *Volume1) FadeDec() (err error)
- func (client *Volume1) FadeDecCtx(ctx context.Context) (err error)
- func (client *Volume1) FadeInc() (err error)
- func (client *Volume1) FadeIncCtx(ctx context.Context) (err error)
- func (client *Volume1) Mute() (Value bool, err error)
- func (client *Volume1) MuteCtx(ctx context.Context) (Value bool, err error)
- func (client *Volume1) SetBalance(Value int32) (err error)
- func (client *Volume1) SetBalanceCtx(ctx context.Context, Value int32) (err error)
- func (client *Volume1) SetFade(Value int32) (err error)
- func (client *Volume1) SetFadeCtx(ctx context.Context, Value int32) (err error)
- func (client *Volume1) SetMute(Value bool) (err error)
- func (client *Volume1) SetMuteCtx(ctx context.Context, Value bool) (err error)
- func (client *Volume1) SetVolume(Value uint32) (err error)
- func (client *Volume1) SetVolumeCtx(ctx context.Context, Value uint32) (err error)
- func (client *Volume1) Volume() (Value uint32, err error)
- func (client *Volume1) VolumeCtx(ctx context.Context) (Value uint32, err error)
- func (client *Volume1) VolumeDec() (err error)
- func (client *Volume1) VolumeDecCtx(ctx context.Context) (err error)
- func (client *Volume1) VolumeInc() (err error)
- func (client *Volume1) VolumeIncCtx(ctx context.Context) (err error)
- func (client *Volume1) VolumeLimit() (Value uint32, err error)
- func (client *Volume1) VolumeLimitCtx(ctx context.Context) (Value uint32, err error)
- type Volume2
- func NewVolume2Clients() (clients []*Volume2, errors []error, err error)
- func NewVolume2ClientsByURL(loc *url.URL) ([]*Volume2, error)
- func NewVolume2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Volume2, error)
- func NewVolume2ClientsCtx(ctx context.Context) (clients []*Volume2, errors []error, err error)
- func NewVolume2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Volume2, error)
- func (client *Volume2) Balance() (Value int32, err error)
- func (client *Volume2) BalanceCtx(ctx context.Context) (Value int32, err error)
- func (client *Volume2) BalanceDec() (err error)
- func (client *Volume2) BalanceDecCtx(ctx context.Context) (err error)
- func (client *Volume2) BalanceInc() (err error)
- func (client *Volume2) BalanceIncCtx(ctx context.Context) (err error)
- func (client *Volume2) Characteristics() (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, ...)
- func (client *Volume2) CharacteristicsCtx(ctx context.Context) (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, ...)
- func (client *Volume2) Fade() (Value int32, err error)
- func (client *Volume2) FadeCtx(ctx context.Context) (Value int32, err error)
- func (client *Volume2) FadeDec() (err error)
- func (client *Volume2) FadeDecCtx(ctx context.Context) (err error)
- func (client *Volume2) FadeInc() (err error)
- func (client *Volume2) FadeIncCtx(ctx context.Context) (err error)
- func (client *Volume2) Mute() (Value bool, err error)
- func (client *Volume2) MuteCtx(ctx context.Context) (Value bool, err error)
- func (client *Volume2) SetBalance(Value int32) (err error)
- func (client *Volume2) SetBalanceCtx(ctx context.Context, Value int32) (err error)
- func (client *Volume2) SetFade(Value int32) (err error)
- func (client *Volume2) SetFadeCtx(ctx context.Context, Value int32) (err error)
- func (client *Volume2) SetMute(Value bool) (err error)
- func (client *Volume2) SetMuteCtx(ctx context.Context, Value bool) (err error)
- func (client *Volume2) SetVolume(Value uint32) (err error)
- func (client *Volume2) SetVolumeCtx(ctx context.Context, Value uint32) (err error)
- func (client *Volume2) UnityGain() (Value bool, err error)
- func (client *Volume2) UnityGainCtx(ctx context.Context) (Value bool, err error)
- func (client *Volume2) Volume() (Value uint32, err error)
- func (client *Volume2) VolumeCtx(ctx context.Context) (Value uint32, err error)
- func (client *Volume2) VolumeDec() (err error)
- func (client *Volume2) VolumeDecCtx(ctx context.Context) (err error)
- func (client *Volume2) VolumeInc() (err error)
- func (client *Volume2) VolumeIncCtx(ctx context.Context) (err error)
- func (client *Volume2) VolumeLimit() (Value uint32, err error)
- func (client *Volume2) VolumeLimitCtx(ctx context.Context) (Value uint32, err error)
- type Volume3
- func NewVolume3Clients() (clients []*Volume3, errors []error, err error)
- func NewVolume3ClientsByURL(loc *url.URL) ([]*Volume3, error)
- func NewVolume3ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Volume3, error)
- func NewVolume3ClientsCtx(ctx context.Context) (clients []*Volume3, errors []error, err error)
- func NewVolume3ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Volume3, error)
- func (client *Volume3) Balance() (Value int32, err error)
- func (client *Volume3) BalanceCtx(ctx context.Context) (Value int32, err error)
- func (client *Volume3) BalanceDec() (err error)
- func (client *Volume3) BalanceDecCtx(ctx context.Context) (err error)
- func (client *Volume3) BalanceInc() (err error)
- func (client *Volume3) BalanceIncCtx(ctx context.Context) (err error)
- func (client *Volume3) Characteristics() (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, ...)
- func (client *Volume3) CharacteristicsCtx(ctx context.Context) (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, ...)
- func (client *Volume3) Fade() (Value int32, err error)
- func (client *Volume3) FadeCtx(ctx context.Context) (Value int32, err error)
- func (client *Volume3) FadeDec() (err error)
- func (client *Volume3) FadeDecCtx(ctx context.Context) (err error)
- func (client *Volume3) FadeInc() (err error)
- func (client *Volume3) FadeIncCtx(ctx context.Context) (err error)
- func (client *Volume3) Mute() (Value bool, err error)
- func (client *Volume3) MuteCtx(ctx context.Context) (Value bool, err error)
- func (client *Volume3) SetBalance(Value int32) (err error)
- func (client *Volume3) SetBalanceCtx(ctx context.Context, Value int32) (err error)
- func (client *Volume3) SetFade(Value int32) (err error)
- func (client *Volume3) SetFadeCtx(ctx context.Context, Value int32) (err error)
- func (client *Volume3) SetMute(Value bool) (err error)
- func (client *Volume3) SetMuteCtx(ctx context.Context, Value bool) (err error)
- func (client *Volume3) SetTrim(Channel string, TrimBinaryMilliDb int32) (err error)
- func (client *Volume3) SetTrimCtx(ctx context.Context, Channel string, TrimBinaryMilliDb int32) (err error)
- func (client *Volume3) SetVolume(Value uint32) (err error)
- func (client *Volume3) SetVolumeCtx(ctx context.Context, Value uint32) (err error)
- func (client *Volume3) SetVolumeOffset(Channel string, VolumeOffsetBinaryMilliDb int32) (err error)
- func (client *Volume3) SetVolumeOffsetCtx(ctx context.Context, Channel string, VolumeOffsetBinaryMilliDb int32) (err error)
- func (client *Volume3) Trim(Channel string) (TrimBinaryMilliDb int32, err error)
- func (client *Volume3) TrimCtx(ctx context.Context, Channel string) (TrimBinaryMilliDb int32, err error)
- func (client *Volume3) UnityGain() (Value bool, err error)
- func (client *Volume3) UnityGainCtx(ctx context.Context) (Value bool, err error)
- func (client *Volume3) Volume() (Value uint32, err error)
- func (client *Volume3) VolumeCtx(ctx context.Context) (Value uint32, err error)
- func (client *Volume3) VolumeDec() (err error)
- func (client *Volume3) VolumeDecCtx(ctx context.Context) (err error)
- func (client *Volume3) VolumeInc() (err error)
- func (client *Volume3) VolumeIncCtx(ctx context.Context) (err error)
- func (client *Volume3) VolumeLimit() (Value uint32, err error)
- func (client *Volume3) VolumeLimitCtx(ctx context.Context) (Value uint32, err error)
- func (client *Volume3) VolumeOffset(Channel string) (VolumeOffsetBinaryMilliDb int32, err error)
- func (client *Volume3) VolumeOffsetCtx(ctx context.Context, Channel string) (VolumeOffsetBinaryMilliDb int32, err error)
Constants ¶
const ( URN_Credentials_1 = "urn:av-openhome-org:service:Credentials:1" URN_Debug_1 = "urn:av-openhome-org:service:Debug:1" URN_Exakt_1 = "urn:av-openhome-org:service:Exakt:1" URN_Exakt_2 = "urn:av-openhome-org:service:Exakt:2" URN_Exakt_3 = "urn:av-openhome-org:service:Exakt:3" URN_Info_1 = "urn:av-openhome-org:service:Info:1" URN_MediaServer_1 = "urn:av-openhome-org:service:MediaServer:1" URN_NetworkMonitor_1 = "urn:av-openhome-org:service:NetworkMonitor:1" URN_Pins_1 = "urn:av-openhome-org:service:Pins:1" URN_Playlist_1 = "urn:av-openhome-org:service:Playlist:1" URN_PlaylistManager_1 = "urn:av-openhome-org:service:PlaylistManager:1" URN_Product_1 = "urn:av-openhome-org:service:Product:1" URN_Product_2 = "urn:av-openhome-org:service:Product:2" URN_Radio_1 = "urn:av-openhome-org:service:Radio:1" URN_Receiver_1 = "urn:av-openhome-org:service:Receiver:1" URN_Sender_1 = "urn:av-openhome-org:service:Sender:1" URN_Sender_2 = "urn:av-openhome-org:service:Sender:2" URN_SubscriptionLongPoll_1 = "urn:av-openhome-org:service:SubscriptionLongPoll:1" URN_Time_1 = "urn:av-openhome-org:service:Time:1" URN_Transport_1 = "urn:av-openhome-org:service:Transport:1" URN_Volume_1 = "urn:av-openhome-org:service:Volume:1" URN_Volume_2 = "urn:av-openhome-org:service:Volume:2" URN_Volume_3 = "urn:av-openhome-org:service:Volume:3" )
Service URNs:
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials1 ¶
type Credentials1 struct {
goupnp.ServiceClient
}
Credentials1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Credentials:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewCredentials1Clients ¶
func NewCredentials1Clients() (clients []*Credentials1, errors []error, err error)
NewCredentials1Clients is the legacy version of NewCredentials1ClientsCtx, but uses context.Background() as the context.
func NewCredentials1ClientsByURL ¶
func NewCredentials1ClientsByURL(loc *url.URL) ([]*Credentials1, error)
NewCredentials1ClientsByURL is the legacy version of NewCredentials1ClientsByURLCtx, but uses context.Background() as the context.
func NewCredentials1ClientsByURLCtx ¶
NewCredentials1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewCredentials1ClientsCtx ¶
func NewCredentials1ClientsCtx(ctx context.Context) (clients []*Credentials1, errors []error, err error)
NewCredentials1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewCredentials1ClientsFromRootDevice ¶
func NewCredentials1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Credentials1, error)
NewCredentials1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Credentials1) Clear ¶
func (client *Credentials1) Clear(Id string) (err error)
Clear is the legacy version of ClearCtx, but uses context.Background() as the context.
func (*Credentials1) ClearCtx ¶
func (client *Credentials1) ClearCtx( ctx context.Context, Id string, ) (err error)
func (*Credentials1) Get ¶
func (client *Credentials1) Get(Id string) (UserName string, Password []byte, Enabled bool, Status string, Data string, err error)
Get is the legacy version of GetCtx, but uses context.Background() as the context.
func (*Credentials1) GetIds ¶
func (client *Credentials1) GetIds() (Ids string, err error)
GetIds is the legacy version of GetIdsCtx, but uses context.Background() as the context.
func (*Credentials1) GetIdsCtx ¶
func (client *Credentials1) GetIdsCtx( ctx context.Context, ) (Ids string, err error)
func (*Credentials1) GetPublicKey ¶
func (client *Credentials1) GetPublicKey() (PublicKey string, err error)
GetPublicKey is the legacy version of GetPublicKeyCtx, but uses context.Background() as the context.
func (*Credentials1) GetPublicKeyCtx ¶
func (client *Credentials1) GetPublicKeyCtx( ctx context.Context, ) (PublicKey string, err error)
func (*Credentials1) GetSequenceNumber ¶
func (client *Credentials1) GetSequenceNumber() (SequenceNumber uint32, err error)
GetSequenceNumber is the legacy version of GetSequenceNumberCtx, but uses context.Background() as the context.
func (*Credentials1) GetSequenceNumberCtx ¶
func (client *Credentials1) GetSequenceNumberCtx( ctx context.Context, ) (SequenceNumber uint32, err error)
func (*Credentials1) Login ¶
func (client *Credentials1) Login(Id string) (Token string, err error)
Login is the legacy version of LoginCtx, but uses context.Background() as the context.
func (*Credentials1) ReLogin ¶
func (client *Credentials1) ReLogin(Id string, CurrentToken string) (NewToken string, err error)
ReLogin is the legacy version of ReLoginCtx, but uses context.Background() as the context.
func (*Credentials1) ReLoginCtx ¶
func (*Credentials1) Set ¶
func (client *Credentials1) Set(Id string, UserName string, Password []byte) (err error)
Set is the legacy version of SetCtx, but uses context.Background() as the context.
func (*Credentials1) SetEnabled ¶
func (client *Credentials1) SetEnabled(Id string, Enabled bool) (err error)
SetEnabled is the legacy version of SetEnabledCtx, but uses context.Background() as the context.
func (*Credentials1) SetEnabledCtx ¶
type Debug1 ¶
type Debug1 struct {
goupnp.ServiceClient
}
Debug1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Debug:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewDebug1Clients ¶
NewDebug1Clients is the legacy version of NewDebug1ClientsCtx, but uses context.Background() as the context.
func NewDebug1ClientsByURL ¶
NewDebug1ClientsByURL is the legacy version of NewDebug1ClientsByURLCtx, but uses context.Background() as the context.
func NewDebug1ClientsByURLCtx ¶
NewDebug1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewDebug1ClientsCtx ¶
NewDebug1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewDebug1ClientsFromRootDevice ¶
NewDebug1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Debug1) GetLog ¶
GetLog is the legacy version of GetLogCtx, but uses context.Background() as the context.
type Exakt1 ¶
type Exakt1 struct {
goupnp.ServiceClient
}
Exakt1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Exakt:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewExakt1Clients ¶
NewExakt1Clients is the legacy version of NewExakt1ClientsCtx, but uses context.Background() as the context.
func NewExakt1ClientsByURL ¶
NewExakt1ClientsByURL is the legacy version of NewExakt1ClientsByURLCtx, but uses context.Background() as the context.
func NewExakt1ClientsByURLCtx ¶
NewExakt1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewExakt1ClientsCtx ¶
NewExakt1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewExakt1ClientsFromRootDevice ¶
NewExakt1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Exakt1) ConnectionStatus ¶
ConnectionStatus is the legacy version of ConnectionStatusCtx, but uses context.Background() as the context.
func (*Exakt1) ConnectionStatusCtx ¶
func (*Exakt1) DeviceList ¶
DeviceList is the legacy version of DeviceListCtx, but uses context.Background() as the context.
func (*Exakt1) DeviceListCtx ¶
func (*Exakt1) DeviceSettings ¶
DeviceSettings is the legacy version of DeviceSettingsCtx, but uses context.Background() as the context.
func (*Exakt1) DeviceSettingsCtx ¶
func (*Exakt1) Reprogram ¶
Reprogram is the legacy version of ReprogramCtx, but uses context.Background() as the context.
func (*Exakt1) ReprogramCtx ¶
func (*Exakt1) ReprogramFallback ¶
ReprogramFallback is the legacy version of ReprogramFallbackCtx, but uses context.Background() as the context.
func (*Exakt1) ReprogramFallbackCtx ¶
type Exakt2 ¶
type Exakt2 struct {
goupnp.ServiceClient
}
Exakt2 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Exakt:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewExakt2Clients ¶
NewExakt2Clients is the legacy version of NewExakt2ClientsCtx, but uses context.Background() as the context.
func NewExakt2ClientsByURL ¶
NewExakt2ClientsByURL is the legacy version of NewExakt2ClientsByURLCtx, but uses context.Background() as the context.
func NewExakt2ClientsByURLCtx ¶
NewExakt2ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewExakt2ClientsCtx ¶
NewExakt2ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewExakt2ClientsFromRootDevice ¶
NewExakt2ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Exakt2) ConnectionStatus ¶
ConnectionStatus is the legacy version of ConnectionStatusCtx, but uses context.Background() as the context.
func (*Exakt2) ConnectionStatusCtx ¶
func (*Exakt2) DeviceList ¶
DeviceList is the legacy version of DeviceListCtx, but uses context.Background() as the context.
func (*Exakt2) DeviceListCtx ¶
func (*Exakt2) DeviceSettings ¶
DeviceSettings is the legacy version of DeviceSettingsCtx, but uses context.Background() as the context.
func (*Exakt2) DeviceSettingsCtx ¶
func (*Exakt2) Reprogram ¶
Reprogram is the legacy version of ReprogramCtx, but uses context.Background() as the context.
func (*Exakt2) ReprogramCtx ¶
func (*Exakt2) ReprogramFallback ¶
ReprogramFallback is the legacy version of ReprogramFallbackCtx, but uses context.Background() as the context.
func (*Exakt2) ReprogramFallbackCtx ¶
func (*Exakt2) Set ¶
func (client *Exakt2) Set(DeviceId string, BankId uint32, FileUri *url.URL, Mute bool, Persist bool) (err error)
Set is the legacy version of SetCtx, but uses context.Background() as the context.
type Exakt3 ¶
type Exakt3 struct {
goupnp.ServiceClient
}
Exakt3 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Exakt:3". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewExakt3Clients ¶
NewExakt3Clients is the legacy version of NewExakt3ClientsCtx, but uses context.Background() as the context.
func NewExakt3ClientsByURL ¶
NewExakt3ClientsByURL is the legacy version of NewExakt3ClientsByURLCtx, but uses context.Background() as the context.
func NewExakt3ClientsByURLCtx ¶
NewExakt3ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewExakt3ClientsCtx ¶
NewExakt3ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewExakt3ClientsFromRootDevice ¶
NewExakt3ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Exakt3) AudioChannels ¶
AudioChannels is the legacy version of AudioChannelsCtx, but uses context.Background() as the context.
func (*Exakt3) AudioChannelsCtx ¶
func (*Exakt3) ChannelMap ¶
ChannelMap is the legacy version of ChannelMapCtx, but uses context.Background() as the context.
func (*Exakt3) ChannelMapCtx ¶
func (*Exakt3) ConnectionStatus ¶
ConnectionStatus is the legacy version of ConnectionStatusCtx, but uses context.Background() as the context.
func (*Exakt3) ConnectionStatusCtx ¶
func (*Exakt3) DeviceList ¶
DeviceList is the legacy version of DeviceListCtx, but uses context.Background() as the context.
func (*Exakt3) DeviceListCtx ¶
func (*Exakt3) DeviceSettings ¶
DeviceSettings is the legacy version of DeviceSettingsCtx, but uses context.Background() as the context.
func (*Exakt3) DeviceSettingsCtx ¶
func (*Exakt3) Reprogram ¶
Reprogram is the legacy version of ReprogramCtx, but uses context.Background() as the context.
func (*Exakt3) ReprogramCtx ¶
func (*Exakt3) ReprogramFallback ¶
ReprogramFallback is the legacy version of ReprogramFallbackCtx, but uses context.Background() as the context.
func (*Exakt3) ReprogramFallbackCtx ¶
func (*Exakt3) Set ¶
func (client *Exakt3) Set(DeviceId string, BankId uint32, FileUri *url.URL, Mute bool, Persist bool) (err error)
Set is the legacy version of SetCtx, but uses context.Background() as the context.
func (*Exakt3) SetAudioChannels ¶
SetAudioChannels is the legacy version of SetAudioChannelsCtx, but uses context.Background() as the context.
func (*Exakt3) SetAudioChannelsCtx ¶
func (*Exakt3) SetChannelMap ¶
SetChannelMap is the legacy version of SetChannelMapCtx, but uses context.Background() as the context.
func (*Exakt3) SetChannelMapCtx ¶
type Info1 ¶
type Info1 struct {
goupnp.ServiceClient
}
Info1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Info:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewInfo1Clients ¶
NewInfo1Clients is the legacy version of NewInfo1ClientsCtx, but uses context.Background() as the context.
func NewInfo1ClientsByURL ¶
NewInfo1ClientsByURL is the legacy version of NewInfo1ClientsByURLCtx, but uses context.Background() as the context.
func NewInfo1ClientsByURLCtx ¶
NewInfo1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewInfo1ClientsCtx ¶
NewInfo1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewInfo1ClientsFromRootDevice ¶
NewInfo1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Info1) Counters ¶
func (client *Info1) Counters() (TrackCount uint32, DetailsCount uint32, MetatextCount uint32, err error)
Counters is the legacy version of CountersCtx, but uses context.Background() as the context.
func (*Info1) CountersCtx ¶
func (*Info1) Details ¶
func (client *Info1) Details() (Duration uint32, BitRate uint32, BitDepth uint32, SampleRate uint32, Lossless bool, CodecName string, err error)
Details is the legacy version of DetailsCtx, but uses context.Background() as the context.
func (*Info1) DetailsCtx ¶
func (*Info1) Metatext ¶
Metatext is the legacy version of MetatextCtx, but uses context.Background() as the context.
func (*Info1) MetatextCtx ¶
type MediaServer1 ¶
type MediaServer1 struct {
goupnp.ServiceClient
}
MediaServer1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:MediaServer:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewMediaServer1Clients ¶
func NewMediaServer1Clients() (clients []*MediaServer1, errors []error, err error)
NewMediaServer1Clients is the legacy version of NewMediaServer1ClientsCtx, but uses context.Background() as the context.
func NewMediaServer1ClientsByURL ¶
func NewMediaServer1ClientsByURL(loc *url.URL) ([]*MediaServer1, error)
NewMediaServer1ClientsByURL is the legacy version of NewMediaServer1ClientsByURLCtx, but uses context.Background() as the context.
func NewMediaServer1ClientsByURLCtx ¶
NewMediaServer1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewMediaServer1ClientsCtx ¶
func NewMediaServer1ClientsCtx(ctx context.Context) (clients []*MediaServer1, errors []error, err error)
NewMediaServer1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewMediaServer1ClientsFromRootDevice ¶
func NewMediaServer1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*MediaServer1, error)
NewMediaServer1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*MediaServer1) Attributes ¶
func (client *MediaServer1) Attributes() (Value string, err error)
Attributes is the legacy version of AttributesCtx, but uses context.Background() as the context.
func (*MediaServer1) AttributesCtx ¶
func (client *MediaServer1) AttributesCtx( ctx context.Context, ) (Value string, err error)
func (*MediaServer1) BrowsePort ¶
func (client *MediaServer1) BrowsePort() (Value uint32, err error)
BrowsePort is the legacy version of BrowsePortCtx, but uses context.Background() as the context.
func (*MediaServer1) BrowsePortCtx ¶
func (client *MediaServer1) BrowsePortCtx( ctx context.Context, ) (Value uint32, err error)
func (*MediaServer1) Manufacturer ¶
func (client *MediaServer1) Manufacturer() (Name string, Info string, Url string, ImageUri string, err error)
Manufacturer is the legacy version of ManufacturerCtx, but uses context.Background() as the context.
func (*MediaServer1) ManufacturerCtx ¶
func (*MediaServer1) Model ¶
func (client *MediaServer1) Model() (Name string, Info string, Url string, ImageUri string, err error)
Model is the legacy version of ModelCtx, but uses context.Background() as the context.
func (*MediaServer1) Product ¶
func (client *MediaServer1) Product() (Name string, Info string, Url string, ImageUri string, err error)
Product is the legacy version of ProductCtx, but uses context.Background() as the context.
func (*MediaServer1) ProductCtx ¶
func (*MediaServer1) QueryPort ¶
func (client *MediaServer1) QueryPort() (Value uint32, err error)
QueryPort is the legacy version of QueryPortCtx, but uses context.Background() as the context.
func (*MediaServer1) QueryPortCtx ¶
func (client *MediaServer1) QueryPortCtx( ctx context.Context, ) (Value uint32, err error)
func (*MediaServer1) UpdateCount ¶
func (client *MediaServer1) UpdateCount() (Value uint32, err error)
UpdateCount is the legacy version of UpdateCountCtx, but uses context.Background() as the context.
func (*MediaServer1) UpdateCountCtx ¶
func (client *MediaServer1) UpdateCountCtx( ctx context.Context, ) (Value uint32, err error)
type NetworkMonitor1 ¶
type NetworkMonitor1 struct {
goupnp.ServiceClient
}
NetworkMonitor1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:NetworkMonitor:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewNetworkMonitor1Clients ¶
func NewNetworkMonitor1Clients() (clients []*NetworkMonitor1, errors []error, err error)
NewNetworkMonitor1Clients is the legacy version of NewNetworkMonitor1ClientsCtx, but uses context.Background() as the context.
func NewNetworkMonitor1ClientsByURL ¶
func NewNetworkMonitor1ClientsByURL(loc *url.URL) ([]*NetworkMonitor1, error)
NewNetworkMonitor1ClientsByURL is the legacy version of NewNetworkMonitor1ClientsByURLCtx, but uses context.Background() as the context.
func NewNetworkMonitor1ClientsByURLCtx ¶
func NewNetworkMonitor1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*NetworkMonitor1, error)
NewNetworkMonitor1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewNetworkMonitor1ClientsCtx ¶
func NewNetworkMonitor1ClientsCtx(ctx context.Context) (clients []*NetworkMonitor1, errors []error, err error)
NewNetworkMonitor1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewNetworkMonitor1ClientsFromRootDevice ¶
func NewNetworkMonitor1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*NetworkMonitor1, error)
NewNetworkMonitor1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*NetworkMonitor1) Name ¶
func (client *NetworkMonitor1) Name() (Name string, err error)
Name is the legacy version of NameCtx, but uses context.Background() as the context.
func (*NetworkMonitor1) NameCtx ¶
func (client *NetworkMonitor1) NameCtx( ctx context.Context, ) (Name string, err error)
type Pins1 ¶
type Pins1 struct {
goupnp.ServiceClient
}
Pins1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Pins:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewPins1Clients ¶
NewPins1Clients is the legacy version of NewPins1ClientsCtx, but uses context.Background() as the context.
func NewPins1ClientsByURL ¶
NewPins1ClientsByURL is the legacy version of NewPins1ClientsByURLCtx, but uses context.Background() as the context.
func NewPins1ClientsByURLCtx ¶
NewPins1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewPins1ClientsCtx ¶
NewPins1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewPins1ClientsFromRootDevice ¶
NewPins1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Pins1) Clear ¶
Clear is the legacy version of ClearCtx, but uses context.Background() as the context.
func (*Pins1) GetDeviceAccountMax ¶
GetDeviceAccountMax is the legacy version of GetDeviceAccountMaxCtx, but uses context.Background() as the context.
func (*Pins1) GetDeviceAccountMaxCtx ¶
func (*Pins1) GetIdArray ¶
GetIdArray is the legacy version of GetIdArrayCtx, but uses context.Background() as the context.
func (*Pins1) GetIdArrayCtx ¶
func (*Pins1) GetModes ¶
GetModes is the legacy version of GetModesCtx, but uses context.Background() as the context.
func (*Pins1) GetModesCtx ¶
func (*Pins1) InvokeId ¶
InvokeId is the legacy version of InvokeIdCtx, but uses context.Background() as the context.
func (*Pins1) InvokeIdCtx ¶
func (*Pins1) InvokeIndex ¶
InvokeIndex is the legacy version of InvokeIndexCtx, but uses context.Background() as the context.
func (*Pins1) InvokeIndexCtx ¶
func (*Pins1) ReadList ¶
ReadList is the legacy version of ReadListCtx, but uses context.Background() as the context.
func (*Pins1) ReadListCtx ¶
func (*Pins1) SetAccount ¶
func (client *Pins1) SetAccount(Index uint32, Mode string, Type string, Uri string, Title string, Description string, ArtworkUri string, Shuffle bool) (err error)
SetAccount is the legacy version of SetAccountCtx, but uses context.Background() as the context.
func (*Pins1) SetAccountCtx ¶
func (*Pins1) SetDevice ¶
func (client *Pins1) SetDevice(Index uint32, Mode string, Type string, Uri string, Title string, Description string, ArtworkUri string, Shuffle bool) (err error)
SetDevice is the legacy version of SetDeviceCtx, but uses context.Background() as the context.
func (*Pins1) SetDeviceCtx ¶
type Playlist1 ¶
type Playlist1 struct {
goupnp.ServiceClient
}
Playlist1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Playlist:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewPlaylist1Clients ¶
NewPlaylist1Clients is the legacy version of NewPlaylist1ClientsCtx, but uses context.Background() as the context.
func NewPlaylist1ClientsByURL ¶
NewPlaylist1ClientsByURL is the legacy version of NewPlaylist1ClientsByURLCtx, but uses context.Background() as the context.
func NewPlaylist1ClientsByURLCtx ¶
NewPlaylist1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewPlaylist1ClientsCtx ¶
NewPlaylist1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewPlaylist1ClientsFromRootDevice ¶
func NewPlaylist1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Playlist1, error)
NewPlaylist1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Playlist1) DeleteAll ¶
DeleteAll is the legacy version of DeleteAllCtx, but uses context.Background() as the context.
func (*Playlist1) DeleteAllCtx ¶
func (*Playlist1) DeleteId ¶
DeleteId is the legacy version of DeleteIdCtx, but uses context.Background() as the context.
func (*Playlist1) DeleteIdCtx ¶
func (*Playlist1) Id ¶
Id is the legacy version of IdCtx, but uses context.Background() as the context.
func (*Playlist1) IdArray ¶
IdArray is the legacy version of IdArrayCtx, but uses context.Background() as the context.
func (*Playlist1) IdArrayChanged ¶
IdArrayChanged is the legacy version of IdArrayChangedCtx, but uses context.Background() as the context.
func (*Playlist1) IdArrayChangedCtx ¶
func (*Playlist1) IdArrayCtx ¶
func (*Playlist1) Insert ¶
func (client *Playlist1) Insert(AfterId uint32, Uri string, Metadata string) (NewId uint32, err error)
Insert is the legacy version of InsertCtx, but uses context.Background() as the context.
func (*Playlist1) Next ¶
Next is the legacy version of NextCtx, but uses context.Background() as the context.
func (*Playlist1) Pause ¶
Pause is the legacy version of PauseCtx, but uses context.Background() as the context.
func (*Playlist1) Play ¶
Play is the legacy version of PlayCtx, but uses context.Background() as the context.
func (*Playlist1) Previous ¶
Previous is the legacy version of PreviousCtx, but uses context.Background() as the context.
func (*Playlist1) PreviousCtx ¶
func (*Playlist1) ProtocolInfo ¶
ProtocolInfo is the legacy version of ProtocolInfoCtx, but uses context.Background() as the context.
func (*Playlist1) ProtocolInfoCtx ¶
func (*Playlist1) Read ¶
Read is the legacy version of ReadCtx, but uses context.Background() as the context.
func (*Playlist1) ReadList ¶
ReadList is the legacy version of ReadListCtx, but uses context.Background() as the context.
func (*Playlist1) ReadListCtx ¶
func (*Playlist1) Repeat ¶
Repeat is the legacy version of RepeatCtx, but uses context.Background() as the context.
func (*Playlist1) SeekId ¶
SeekId is the legacy version of SeekIdCtx, but uses context.Background() as the context.
func (*Playlist1) SeekIndex ¶
SeekIndex is the legacy version of SeekIndexCtx, but uses context.Background() as the context.
func (*Playlist1) SeekIndexCtx ¶
func (*Playlist1) SeekSecondAbsolute ¶
SeekSecondAbsolute is the legacy version of SeekSecondAbsoluteCtx, but uses context.Background() as the context.
func (*Playlist1) SeekSecondAbsoluteCtx ¶
func (*Playlist1) SeekSecondRelative ¶
SeekSecondRelative is the legacy version of SeekSecondRelativeCtx, but uses context.Background() as the context.
func (*Playlist1) SeekSecondRelativeCtx ¶
func (*Playlist1) SetRepeat ¶
SetRepeat is the legacy version of SetRepeatCtx, but uses context.Background() as the context.
func (*Playlist1) SetRepeatCtx ¶
func (*Playlist1) SetShuffle ¶
SetShuffle is the legacy version of SetShuffleCtx, but uses context.Background() as the context.
func (*Playlist1) SetShuffleCtx ¶
func (*Playlist1) Shuffle ¶
Shuffle is the legacy version of ShuffleCtx, but uses context.Background() as the context.
func (*Playlist1) ShuffleCtx ¶
func (*Playlist1) Stop ¶
Stop is the legacy version of StopCtx, but uses context.Background() as the context.
func (*Playlist1) TracksMax ¶
TracksMax is the legacy version of TracksMaxCtx, but uses context.Background() as the context.
func (*Playlist1) TracksMaxCtx ¶
func (*Playlist1) TransportState ¶
TransportState is the legacy version of TransportStateCtx, but uses context.Background() as the context.
type PlaylistManager1 ¶
type PlaylistManager1 struct {
goupnp.ServiceClient
}
PlaylistManager1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:PlaylistManager:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewPlaylistManager1Clients ¶
func NewPlaylistManager1Clients() (clients []*PlaylistManager1, errors []error, err error)
NewPlaylistManager1Clients is the legacy version of NewPlaylistManager1ClientsCtx, but uses context.Background() as the context.
func NewPlaylistManager1ClientsByURL ¶
func NewPlaylistManager1ClientsByURL(loc *url.URL) ([]*PlaylistManager1, error)
NewPlaylistManager1ClientsByURL is the legacy version of NewPlaylistManager1ClientsByURLCtx, but uses context.Background() as the context.
func NewPlaylistManager1ClientsByURLCtx ¶
func NewPlaylistManager1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*PlaylistManager1, error)
NewPlaylistManager1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewPlaylistManager1ClientsCtx ¶
func NewPlaylistManager1ClientsCtx(ctx context.Context) (clients []*PlaylistManager1, errors []error, err error)
NewPlaylistManager1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewPlaylistManager1ClientsFromRootDevice ¶
func NewPlaylistManager1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*PlaylistManager1, error)
NewPlaylistManager1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*PlaylistManager1) DeleteAll ¶
func (client *PlaylistManager1) DeleteAll(Id uint32) (err error)
DeleteAll is the legacy version of DeleteAllCtx, but uses context.Background() as the context.
func (*PlaylistManager1) DeleteAllCtx ¶
func (client *PlaylistManager1) DeleteAllCtx( ctx context.Context, Id uint32, ) (err error)
func (*PlaylistManager1) DeleteId ¶
func (client *PlaylistManager1) DeleteId(Id uint32, TrackId uint32) (err error)
DeleteId is the legacy version of DeleteIdCtx, but uses context.Background() as the context.
func (*PlaylistManager1) DeleteIdCtx ¶
func (*PlaylistManager1) ImagesXml ¶
func (client *PlaylistManager1) ImagesXml() (ImagesXml string, err error)
ImagesXml is the legacy version of ImagesXmlCtx, but uses context.Background() as the context.
func (*PlaylistManager1) ImagesXmlCtx ¶
func (client *PlaylistManager1) ImagesXmlCtx( ctx context.Context, ) (ImagesXml string, err error)
func (*PlaylistManager1) Insert ¶
func (client *PlaylistManager1) Insert(Id uint32, AfterTrackId uint32, Metadata string) (NewTrackId uint32, err error)
Insert is the legacy version of InsertCtx, but uses context.Background() as the context.
func (*PlaylistManager1) Metadata ¶
func (client *PlaylistManager1) Metadata() (Metadata string, err error)
Metadata is the legacy version of MetadataCtx, but uses context.Background() as the context.
func (*PlaylistManager1) MetadataCtx ¶
func (client *PlaylistManager1) MetadataCtx( ctx context.Context, ) (Metadata string, err error)
func (*PlaylistManager1) PlaylistArrays ¶
func (client *PlaylistManager1) PlaylistArrays() (Token uint32, IdArray []byte, TokenArray []byte, err error)
PlaylistArrays is the legacy version of PlaylistArraysCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistArraysChanged ¶
func (client *PlaylistManager1) PlaylistArraysChanged(Token uint32) (Value bool, err error)
PlaylistArraysChanged is the legacy version of PlaylistArraysChangedCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistArraysChangedCtx ¶
func (*PlaylistManager1) PlaylistArraysCtx ¶
func (*PlaylistManager1) PlaylistDeleteId ¶
func (client *PlaylistManager1) PlaylistDeleteId(Value uint32) (err error)
PlaylistDeleteId is the legacy version of PlaylistDeleteIdCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistDeleteIdCtx ¶
func (client *PlaylistManager1) PlaylistDeleteIdCtx( ctx context.Context, Value uint32, ) (err error)
func (*PlaylistManager1) PlaylistInsert ¶
func (client *PlaylistManager1) PlaylistInsert(AfterId uint32, Name string, Description string, ImageId uint32) (NewId uint32, err error)
PlaylistInsert is the legacy version of PlaylistInsertCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistInsertCtx ¶
func (*PlaylistManager1) PlaylistMove ¶
func (client *PlaylistManager1) PlaylistMove(Id uint32, AfterId uint32) (err error)
PlaylistMove is the legacy version of PlaylistMoveCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistMoveCtx ¶
func (*PlaylistManager1) PlaylistRead ¶
func (client *PlaylistManager1) PlaylistRead(Id uint32) (Name string, Description string, ImageId uint32, err error)
PlaylistRead is the legacy version of PlaylistReadCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistReadArray ¶
func (client *PlaylistManager1) PlaylistReadArray(Id uint32) (Array []byte, err error)
PlaylistReadArray is the legacy version of PlaylistReadArrayCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistReadArrayCtx ¶
func (*PlaylistManager1) PlaylistReadCtx ¶
func (*PlaylistManager1) PlaylistReadList ¶
func (client *PlaylistManager1) PlaylistReadList(IdList string) (PlaylistList string, err error)
PlaylistReadList is the legacy version of PlaylistReadListCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistReadListCtx ¶
func (*PlaylistManager1) PlaylistSetDescription ¶
func (client *PlaylistManager1) PlaylistSetDescription(Id uint32, Description string) (err error)
PlaylistSetDescription is the legacy version of PlaylistSetDescriptionCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistSetDescriptionCtx ¶
func (*PlaylistManager1) PlaylistSetImageId ¶
func (client *PlaylistManager1) PlaylistSetImageId(Id uint32, ImageId uint32) (err error)
PlaylistSetImageId is the legacy version of PlaylistSetImageIdCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistSetImageIdCtx ¶
func (*PlaylistManager1) PlaylistSetName ¶
func (client *PlaylistManager1) PlaylistSetName(Id uint32, Name string) (err error)
PlaylistSetName is the legacy version of PlaylistSetNameCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistSetNameCtx ¶
func (*PlaylistManager1) PlaylistsMax ¶
func (client *PlaylistManager1) PlaylistsMax() (Value uint32, err error)
PlaylistsMax is the legacy version of PlaylistsMaxCtx, but uses context.Background() as the context.
func (*PlaylistManager1) PlaylistsMaxCtx ¶
func (client *PlaylistManager1) PlaylistsMaxCtx( ctx context.Context, ) (Value uint32, err error)
func (*PlaylistManager1) Read ¶
func (client *PlaylistManager1) Read(Id uint32, TrackId uint32) (Metadata string, err error)
Read is the legacy version of ReadCtx, but uses context.Background() as the context.
func (*PlaylistManager1) ReadList ¶
func (client *PlaylistManager1) ReadList(Id uint32, TrackIdList string) (TrackList string, err error)
ReadList is the legacy version of ReadListCtx, but uses context.Background() as the context.
func (*PlaylistManager1) ReadListCtx ¶
func (*PlaylistManager1) TracksMax ¶
func (client *PlaylistManager1) TracksMax() (Value uint32, err error)
TracksMax is the legacy version of TracksMaxCtx, but uses context.Background() as the context.
func (*PlaylistManager1) TracksMaxCtx ¶
func (client *PlaylistManager1) TracksMaxCtx( ctx context.Context, ) (Value uint32, err error)
type Product1 ¶
type Product1 struct {
goupnp.ServiceClient
}
Product1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Product:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewProduct1Clients ¶
NewProduct1Clients is the legacy version of NewProduct1ClientsCtx, but uses context.Background() as the context.
func NewProduct1ClientsByURL ¶
NewProduct1ClientsByURL is the legacy version of NewProduct1ClientsByURLCtx, but uses context.Background() as the context.
func NewProduct1ClientsByURLCtx ¶
NewProduct1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewProduct1ClientsCtx ¶
NewProduct1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewProduct1ClientsFromRootDevice ¶
func NewProduct1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Product1, error)
NewProduct1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Product1) Attributes ¶
Attributes is the legacy version of AttributesCtx, but uses context.Background() as the context.
func (*Product1) AttributesCtx ¶
func (*Product1) Manufacturer ¶
func (client *Product1) Manufacturer() (Name string, Info string, Url string, ImageUri string, err error)
Manufacturer is the legacy version of ManufacturerCtx, but uses context.Background() as the context.
func (*Product1) ManufacturerCtx ¶
func (*Product1) Model ¶
Model is the legacy version of ModelCtx, but uses context.Background() as the context.
func (*Product1) Product ¶
func (client *Product1) Product() (Room string, Name string, Info string, Url string, ImageUri string, err error)
Product is the legacy version of ProductCtx, but uses context.Background() as the context.
func (*Product1) ProductCtx ¶
func (*Product1) SetSourceIndex ¶
SetSourceIndex is the legacy version of SetSourceIndexCtx, but uses context.Background() as the context.
func (*Product1) SetSourceIndexByName ¶
SetSourceIndexByName is the legacy version of SetSourceIndexByNameCtx, but uses context.Background() as the context.
func (*Product1) SetSourceIndexByNameCtx ¶
func (*Product1) SetSourceIndexCtx ¶
func (*Product1) SetStandby ¶
SetStandby is the legacy version of SetStandbyCtx, but uses context.Background() as the context.
func (*Product1) SetStandbyCtx ¶
func (*Product1) Source ¶
func (client *Product1) Source(Index uint32) (SystemName string, Type string, Name string, Visible bool, err error)
Source is the legacy version of SourceCtx, but uses context.Background() as the context.
func (*Product1) SourceCount ¶
SourceCount is the legacy version of SourceCountCtx, but uses context.Background() as the context.
func (*Product1) SourceCountCtx ¶
func (*Product1) SourceIndex ¶
SourceIndex is the legacy version of SourceIndexCtx, but uses context.Background() as the context.
func (*Product1) SourceIndexCtx ¶
func (*Product1) SourceXml ¶
SourceXml is the legacy version of SourceXmlCtx, but uses context.Background() as the context.
func (*Product1) SourceXmlChangeCount ¶
SourceXmlChangeCount is the legacy version of SourceXmlChangeCountCtx, but uses context.Background() as the context.
func (*Product1) SourceXmlChangeCountCtx ¶
func (*Product1) SourceXmlCtx ¶
type Product2 ¶
type Product2 struct {
goupnp.ServiceClient
}
Product2 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Product:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewProduct2Clients ¶
NewProduct2Clients is the legacy version of NewProduct2ClientsCtx, but uses context.Background() as the context.
func NewProduct2ClientsByURL ¶
NewProduct2ClientsByURL is the legacy version of NewProduct2ClientsByURLCtx, but uses context.Background() as the context.
func NewProduct2ClientsByURLCtx ¶
NewProduct2ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewProduct2ClientsCtx ¶
NewProduct2ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewProduct2ClientsFromRootDevice ¶
func NewProduct2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Product2, error)
NewProduct2ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Product2) Attributes ¶
Attributes is the legacy version of AttributesCtx, but uses context.Background() as the context.
func (*Product2) AttributesCtx ¶
func (*Product2) Manufacturer ¶
func (client *Product2) Manufacturer() (Name string, Info string, Url string, ImageUri string, err error)
Manufacturer is the legacy version of ManufacturerCtx, but uses context.Background() as the context.
func (*Product2) ManufacturerCtx ¶
func (*Product2) Model ¶
Model is the legacy version of ModelCtx, but uses context.Background() as the context.
func (*Product2) Product ¶
func (client *Product2) Product() (Room string, Name string, Info string, Url string, ImageUri string, err error)
Product is the legacy version of ProductCtx, but uses context.Background() as the context.
func (*Product2) ProductCtx ¶
func (*Product2) SetSourceBySystemName ¶
SetSourceBySystemName is the legacy version of SetSourceBySystemNameCtx, but uses context.Background() as the context.
func (*Product2) SetSourceBySystemNameCtx ¶
func (*Product2) SetSourceIndex ¶
SetSourceIndex is the legacy version of SetSourceIndexCtx, but uses context.Background() as the context.
func (*Product2) SetSourceIndexByName ¶
SetSourceIndexByName is the legacy version of SetSourceIndexByNameCtx, but uses context.Background() as the context.
func (*Product2) SetSourceIndexByNameCtx ¶
func (*Product2) SetSourceIndexCtx ¶
func (*Product2) SetStandby ¶
SetStandby is the legacy version of SetStandbyCtx, but uses context.Background() as the context.
func (*Product2) SetStandbyCtx ¶
func (*Product2) Source ¶
func (client *Product2) Source(Index uint32) (SystemName string, Type string, Name string, Visible bool, err error)
Source is the legacy version of SourceCtx, but uses context.Background() as the context.
func (*Product2) SourceCount ¶
SourceCount is the legacy version of SourceCountCtx, but uses context.Background() as the context.
func (*Product2) SourceCountCtx ¶
func (*Product2) SourceIndex ¶
SourceIndex is the legacy version of SourceIndexCtx, but uses context.Background() as the context.
func (*Product2) SourceIndexCtx ¶
func (*Product2) SourceXml ¶
SourceXml is the legacy version of SourceXmlCtx, but uses context.Background() as the context.
func (*Product2) SourceXmlChangeCount ¶
SourceXmlChangeCount is the legacy version of SourceXmlChangeCountCtx, but uses context.Background() as the context.
func (*Product2) SourceXmlChangeCountCtx ¶
func (*Product2) SourceXmlCtx ¶
type Radio1 ¶
type Radio1 struct {
goupnp.ServiceClient
}
Radio1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Radio:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewRadio1Clients ¶
NewRadio1Clients is the legacy version of NewRadio1ClientsCtx, but uses context.Background() as the context.
func NewRadio1ClientsByURL ¶
NewRadio1ClientsByURL is the legacy version of NewRadio1ClientsByURLCtx, but uses context.Background() as the context.
func NewRadio1ClientsByURLCtx ¶
NewRadio1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewRadio1ClientsCtx ¶
NewRadio1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewRadio1ClientsFromRootDevice ¶
NewRadio1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Radio1) Channel ¶
Channel is the legacy version of ChannelCtx, but uses context.Background() as the context.
func (*Radio1) ChannelCtx ¶
func (*Radio1) ChannelsMax ¶
ChannelsMax is the legacy version of ChannelsMaxCtx, but uses context.Background() as the context.
func (*Radio1) ChannelsMaxCtx ¶
func (*Radio1) Id ¶
Id is the legacy version of IdCtx, but uses context.Background() as the context.
func (*Radio1) IdArray ¶
IdArray is the legacy version of IdArrayCtx, but uses context.Background() as the context.
func (*Radio1) IdArrayChanged ¶
IdArrayChanged is the legacy version of IdArrayChangedCtx, but uses context.Background() as the context.
func (*Radio1) IdArrayChangedCtx ¶
func (*Radio1) IdArrayCtx ¶
func (*Radio1) Pause ¶
Pause is the legacy version of PauseCtx, but uses context.Background() as the context.
func (*Radio1) Play ¶
Play is the legacy version of PlayCtx, but uses context.Background() as the context.
func (*Radio1) ProtocolInfo ¶
ProtocolInfo is the legacy version of ProtocolInfoCtx, but uses context.Background() as the context.
func (*Radio1) ProtocolInfoCtx ¶
func (*Radio1) Read ¶
Read is the legacy version of ReadCtx, but uses context.Background() as the context.
func (*Radio1) ReadList ¶
ReadList is the legacy version of ReadListCtx, but uses context.Background() as the context.
func (*Radio1) ReadListCtx ¶
func (*Radio1) SeekSecondAbsolute ¶
SeekSecondAbsolute is the legacy version of SeekSecondAbsoluteCtx, but uses context.Background() as the context.
func (*Radio1) SeekSecondAbsoluteCtx ¶
func (*Radio1) SeekSecondRelative ¶
SeekSecondRelative is the legacy version of SeekSecondRelativeCtx, but uses context.Background() as the context.
func (*Radio1) SeekSecondRelativeCtx ¶
func (*Radio1) SetChannel ¶
SetChannel is the legacy version of SetChannelCtx, but uses context.Background() as the context.
func (*Radio1) SetChannelCtx ¶
func (*Radio1) SetId ¶
SetId is the legacy version of SetIdCtx, but uses context.Background() as the context.
func (*Radio1) Stop ¶
Stop is the legacy version of StopCtx, but uses context.Background() as the context.
func (*Radio1) TransportState ¶
TransportState is the legacy version of TransportStateCtx, but uses context.Background() as the context.
type Receiver1 ¶
type Receiver1 struct {
goupnp.ServiceClient
}
Receiver1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Receiver:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewReceiver1Clients ¶
NewReceiver1Clients is the legacy version of NewReceiver1ClientsCtx, but uses context.Background() as the context.
func NewReceiver1ClientsByURL ¶
NewReceiver1ClientsByURL is the legacy version of NewReceiver1ClientsByURLCtx, but uses context.Background() as the context.
func NewReceiver1ClientsByURLCtx ¶
NewReceiver1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewReceiver1ClientsCtx ¶
NewReceiver1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewReceiver1ClientsFromRootDevice ¶
func NewReceiver1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Receiver1, error)
NewReceiver1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Receiver1) Play ¶
Play is the legacy version of PlayCtx, but uses context.Background() as the context.
func (*Receiver1) ProtocolInfo ¶
ProtocolInfo is the legacy version of ProtocolInfoCtx, but uses context.Background() as the context.
func (*Receiver1) ProtocolInfoCtx ¶
func (*Receiver1) Sender ¶
Sender is the legacy version of SenderCtx, but uses context.Background() as the context.
func (*Receiver1) SetSender ¶
SetSender is the legacy version of SetSenderCtx, but uses context.Background() as the context.
func (*Receiver1) SetSenderCtx ¶
func (*Receiver1) Stop ¶
Stop is the legacy version of StopCtx, but uses context.Background() as the context.
func (*Receiver1) TransportState ¶
TransportState is the legacy version of TransportStateCtx, but uses context.Background() as the context.
type Sender1 ¶
type Sender1 struct {
goupnp.ServiceClient
}
Sender1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Sender:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewSender1Clients ¶
NewSender1Clients is the legacy version of NewSender1ClientsCtx, but uses context.Background() as the context.
func NewSender1ClientsByURL ¶
NewSender1ClientsByURL is the legacy version of NewSender1ClientsByURLCtx, but uses context.Background() as the context.
func NewSender1ClientsByURLCtx ¶
NewSender1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewSender1ClientsCtx ¶
NewSender1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewSender1ClientsFromRootDevice ¶
func NewSender1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Sender1, error)
NewSender1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Sender1) Attributes ¶
Attributes is the legacy version of AttributesCtx, but uses context.Background() as the context.
func (*Sender1) AttributesCtx ¶
func (*Sender1) Audio ¶
Audio is the legacy version of AudioCtx, but uses context.Background() as the context.
func (*Sender1) Metadata ¶
Metadata is the legacy version of MetadataCtx, but uses context.Background() as the context.
func (*Sender1) MetadataCtx ¶
func (*Sender1) PresentationUrl ¶
PresentationUrl is the legacy version of PresentationUrlCtx, but uses context.Background() as the context.
func (*Sender1) PresentationUrlCtx ¶
type Sender2 ¶
type Sender2 struct {
goupnp.ServiceClient
}
Sender2 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Sender:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewSender2Clients ¶
NewSender2Clients is the legacy version of NewSender2ClientsCtx, but uses context.Background() as the context.
func NewSender2ClientsByURL ¶
NewSender2ClientsByURL is the legacy version of NewSender2ClientsByURLCtx, but uses context.Background() as the context.
func NewSender2ClientsByURLCtx ¶
NewSender2ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewSender2ClientsCtx ¶
NewSender2ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewSender2ClientsFromRootDevice ¶
func NewSender2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Sender2, error)
NewSender2ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Sender2) Attributes ¶
Attributes is the legacy version of AttributesCtx, but uses context.Background() as the context.
func (*Sender2) AttributesCtx ¶
func (*Sender2) Audio ¶
Audio is the legacy version of AudioCtx, but uses context.Background() as the context.
func (*Sender2) Enabled ¶
Enabled is the legacy version of EnabledCtx, but uses context.Background() as the context.
func (*Sender2) EnabledCtx ¶
func (*Sender2) Metadata ¶
Metadata is the legacy version of MetadataCtx, but uses context.Background() as the context.
func (*Sender2) MetadataCtx ¶
func (*Sender2) PresentationUrl ¶
PresentationUrl is the legacy version of PresentationUrlCtx, but uses context.Background() as the context.
func (*Sender2) PresentationUrlCtx ¶
func (*Sender2) Status ¶
Status is the legacy version of StatusCtx, but uses context.Background() as the context.
func (*Sender2) Status2 ¶
Status2 is the legacy version of Status2Ctx, but uses context.Background() as the context.
func (*Sender2) Status2Ctx ¶
Return values:
* Value: allowed values: Sending, Ready, Blocked, Inactive, Disabled
type SubscriptionLongPoll1 ¶
type SubscriptionLongPoll1 struct {
goupnp.ServiceClient
}
SubscriptionLongPoll1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:SubscriptionLongPoll:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewSubscriptionLongPoll1Clients ¶
func NewSubscriptionLongPoll1Clients() (clients []*SubscriptionLongPoll1, errors []error, err error)
NewSubscriptionLongPoll1Clients is the legacy version of NewSubscriptionLongPoll1ClientsCtx, but uses context.Background() as the context.
func NewSubscriptionLongPoll1ClientsByURL ¶
func NewSubscriptionLongPoll1ClientsByURL(loc *url.URL) ([]*SubscriptionLongPoll1, error)
NewSubscriptionLongPoll1ClientsByURL is the legacy version of NewSubscriptionLongPoll1ClientsByURLCtx, but uses context.Background() as the context.
func NewSubscriptionLongPoll1ClientsByURLCtx ¶
func NewSubscriptionLongPoll1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*SubscriptionLongPoll1, error)
NewSubscriptionLongPoll1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewSubscriptionLongPoll1ClientsCtx ¶
func NewSubscriptionLongPoll1ClientsCtx(ctx context.Context) (clients []*SubscriptionLongPoll1, errors []error, err error)
NewSubscriptionLongPoll1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewSubscriptionLongPoll1ClientsFromRootDevice ¶
func NewSubscriptionLongPoll1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*SubscriptionLongPoll1, error)
NewSubscriptionLongPoll1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*SubscriptionLongPoll1) GetPropertyUpdates ¶
func (client *SubscriptionLongPoll1) GetPropertyUpdates(ClientId string) (Updates string, err error)
GetPropertyUpdates is the legacy version of GetPropertyUpdatesCtx, but uses context.Background() as the context.
func (*SubscriptionLongPoll1) GetPropertyUpdatesCtx ¶
func (*SubscriptionLongPoll1) Renew ¶
func (client *SubscriptionLongPoll1) Renew(Sid string, RequestedDuration uint32) (Duration uint32, err error)
Renew is the legacy version of RenewCtx, but uses context.Background() as the context.
func (*SubscriptionLongPoll1) Subscribe ¶
func (client *SubscriptionLongPoll1) Subscribe(ClientId string, Udn string, Service string, RequestedDuration uint32) (Sid string, Duration uint32, err error)
Subscribe is the legacy version of SubscribeCtx, but uses context.Background() as the context.
func (*SubscriptionLongPoll1) SubscribeCtx ¶
func (*SubscriptionLongPoll1) Unsubscribe ¶
func (client *SubscriptionLongPoll1) Unsubscribe(Sid string) (err error)
Unsubscribe is the legacy version of UnsubscribeCtx, but uses context.Background() as the context.
func (*SubscriptionLongPoll1) UnsubscribeCtx ¶
func (client *SubscriptionLongPoll1) UnsubscribeCtx( ctx context.Context, Sid string, ) (err error)
type Time1 ¶
type Time1 struct {
goupnp.ServiceClient
}
Time1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Time:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewTime1Clients ¶
NewTime1Clients is the legacy version of NewTime1ClientsCtx, but uses context.Background() as the context.
func NewTime1ClientsByURL ¶
NewTime1ClientsByURL is the legacy version of NewTime1ClientsByURLCtx, but uses context.Background() as the context.
func NewTime1ClientsByURLCtx ¶
NewTime1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewTime1ClientsCtx ¶
NewTime1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewTime1ClientsFromRootDevice ¶
NewTime1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
type Transport1 ¶
type Transport1 struct {
goupnp.ServiceClient
}
Transport1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Transport:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewTransport1Clients ¶
func NewTransport1Clients() (clients []*Transport1, errors []error, err error)
NewTransport1Clients is the legacy version of NewTransport1ClientsCtx, but uses context.Background() as the context.
func NewTransport1ClientsByURL ¶
func NewTransport1ClientsByURL(loc *url.URL) ([]*Transport1, error)
NewTransport1ClientsByURL is the legacy version of NewTransport1ClientsByURLCtx, but uses context.Background() as the context.
func NewTransport1ClientsByURLCtx ¶
NewTransport1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewTransport1ClientsCtx ¶
func NewTransport1ClientsCtx(ctx context.Context) (clients []*Transport1, errors []error, err error)
NewTransport1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewTransport1ClientsFromRootDevice ¶
func NewTransport1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Transport1, error)
NewTransport1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Transport1) ModeInfo ¶
func (client *Transport1) ModeInfo() (CanSkipNext bool, CanSkipPrevious bool, CanRepeat bool, CanShuffle bool, err error)
ModeInfo is the legacy version of ModeInfoCtx, but uses context.Background() as the context.
func (*Transport1) ModeInfoCtx ¶
func (*Transport1) Modes ¶
func (client *Transport1) Modes() (Modes string, err error)
Modes is the legacy version of ModesCtx, but uses context.Background() as the context.
func (*Transport1) ModesCtx ¶
func (client *Transport1) ModesCtx( ctx context.Context, ) (Modes string, err error)
func (*Transport1) Pause ¶
func (client *Transport1) Pause() (err error)
Pause is the legacy version of PauseCtx, but uses context.Background() as the context.
func (*Transport1) PauseCtx ¶
func (client *Transport1) PauseCtx( ctx context.Context, ) (err error)
func (*Transport1) Play ¶
func (client *Transport1) Play() (err error)
Play is the legacy version of PlayCtx, but uses context.Background() as the context.
func (*Transport1) PlayAs ¶
func (client *Transport1) PlayAs(Mode string, Command string) (err error)
PlayAs is the legacy version of PlayAsCtx, but uses context.Background() as the context.
func (*Transport1) Repeat ¶
func (client *Transport1) Repeat() (Repeat bool, err error)
Repeat is the legacy version of RepeatCtx, but uses context.Background() as the context.
func (*Transport1) RepeatCtx ¶
func (client *Transport1) RepeatCtx( ctx context.Context, ) (Repeat bool, err error)
func (*Transport1) SeekSecondAbsolute ¶
func (client *Transport1) SeekSecondAbsolute(StreamId uint32, SecondAbsolute uint32) (err error)
SeekSecondAbsolute is the legacy version of SeekSecondAbsoluteCtx, but uses context.Background() as the context.
func (*Transport1) SeekSecondAbsoluteCtx ¶
func (*Transport1) SeekSecondRelative ¶
func (client *Transport1) SeekSecondRelative(StreamId uint32, SecondRelative int32) (err error)
SeekSecondRelative is the legacy version of SeekSecondRelativeCtx, but uses context.Background() as the context.
func (*Transport1) SeekSecondRelativeCtx ¶
func (*Transport1) SetRepeat ¶
func (client *Transport1) SetRepeat(Repeat bool) (err error)
SetRepeat is the legacy version of SetRepeatCtx, but uses context.Background() as the context.
func (*Transport1) SetRepeatCtx ¶
func (client *Transport1) SetRepeatCtx( ctx context.Context, Repeat bool, ) (err error)
func (*Transport1) SetShuffle ¶
func (client *Transport1) SetShuffle(Shuffle bool) (err error)
SetShuffle is the legacy version of SetShuffleCtx, but uses context.Background() as the context.
func (*Transport1) SetShuffleCtx ¶
func (client *Transport1) SetShuffleCtx( ctx context.Context, Shuffle bool, ) (err error)
func (*Transport1) Shuffle ¶
func (client *Transport1) Shuffle() (Shuffle bool, err error)
Shuffle is the legacy version of ShuffleCtx, but uses context.Background() as the context.
func (*Transport1) ShuffleCtx ¶
func (client *Transport1) ShuffleCtx( ctx context.Context, ) (Shuffle bool, err error)
func (*Transport1) SkipNext ¶
func (client *Transport1) SkipNext() (err error)
SkipNext is the legacy version of SkipNextCtx, but uses context.Background() as the context.
func (*Transport1) SkipNextCtx ¶
func (client *Transport1) SkipNextCtx( ctx context.Context, ) (err error)
func (*Transport1) SkipPrevious ¶
func (client *Transport1) SkipPrevious() (err error)
SkipPrevious is the legacy version of SkipPreviousCtx, but uses context.Background() as the context.
func (*Transport1) SkipPreviousCtx ¶
func (client *Transport1) SkipPreviousCtx( ctx context.Context, ) (err error)
func (*Transport1) Stop ¶
func (client *Transport1) Stop() (err error)
Stop is the legacy version of StopCtx, but uses context.Background() as the context.
func (*Transport1) StreamId ¶
func (client *Transport1) StreamId() (StreamId uint32, err error)
StreamId is the legacy version of StreamIdCtx, but uses context.Background() as the context.
func (*Transport1) StreamIdCtx ¶
func (client *Transport1) StreamIdCtx( ctx context.Context, ) (StreamId uint32, err error)
func (*Transport1) StreamInfo ¶
func (client *Transport1) StreamInfo() (StreamId uint32, CanSeek bool, CanPause bool, err error)
StreamInfo is the legacy version of StreamInfoCtx, but uses context.Background() as the context.
func (*Transport1) StreamInfoCtx ¶
func (*Transport1) TransportState ¶
func (client *Transport1) TransportState() (State string, err error)
TransportState is the legacy version of TransportStateCtx, but uses context.Background() as the context.
func (*Transport1) TransportStateCtx ¶
func (client *Transport1) TransportStateCtx( ctx context.Context, ) (State string, err error)
Return values:
* State: allowed values: Playing, Paused, Stopped, Buffering, Waiting
type Volume1 ¶
type Volume1 struct {
goupnp.ServiceClient
}
Volume1 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Volume:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewVolume1Clients ¶
NewVolume1Clients is the legacy version of NewVolume1ClientsCtx, but uses context.Background() as the context.
func NewVolume1ClientsByURL ¶
NewVolume1ClientsByURL is the legacy version of NewVolume1ClientsByURLCtx, but uses context.Background() as the context.
func NewVolume1ClientsByURLCtx ¶
NewVolume1ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewVolume1ClientsCtx ¶
NewVolume1ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewVolume1ClientsFromRootDevice ¶
func NewVolume1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Volume1, error)
NewVolume1ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Volume1) Balance ¶
Balance is the legacy version of BalanceCtx, but uses context.Background() as the context.
func (*Volume1) BalanceCtx ¶
func (*Volume1) BalanceDec ¶
BalanceDec is the legacy version of BalanceDecCtx, but uses context.Background() as the context.
func (*Volume1) BalanceDecCtx ¶
func (*Volume1) BalanceInc ¶
BalanceInc is the legacy version of BalanceIncCtx, but uses context.Background() as the context.
func (*Volume1) BalanceIncCtx ¶
func (*Volume1) Characteristics ¶
func (client *Volume1) Characteristics() (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, VolumeMilliDbPerStep uint32, BalanceMax uint32, FadeMax uint32, err error)
Characteristics is the legacy version of CharacteristicsCtx, but uses context.Background() as the context.
func (*Volume1) CharacteristicsCtx ¶
func (*Volume1) Fade ¶
Fade is the legacy version of FadeCtx, but uses context.Background() as the context.
func (*Volume1) FadeDec ¶
FadeDec is the legacy version of FadeDecCtx, but uses context.Background() as the context.
func (*Volume1) FadeInc ¶
FadeInc is the legacy version of FadeIncCtx, but uses context.Background() as the context.
func (*Volume1) Mute ¶
Mute is the legacy version of MuteCtx, but uses context.Background() as the context.
func (*Volume1) SetBalance ¶
SetBalance is the legacy version of SetBalanceCtx, but uses context.Background() as the context.
func (*Volume1) SetBalanceCtx ¶
func (*Volume1) SetFade ¶
SetFade is the legacy version of SetFadeCtx, but uses context.Background() as the context.
func (*Volume1) SetFadeCtx ¶
func (*Volume1) SetMute ¶
SetMute is the legacy version of SetMuteCtx, but uses context.Background() as the context.
func (*Volume1) SetMuteCtx ¶
func (*Volume1) SetVolume ¶
SetVolume is the legacy version of SetVolumeCtx, but uses context.Background() as the context.
func (*Volume1) SetVolumeCtx ¶
func (*Volume1) Volume ¶
Volume is the legacy version of VolumeCtx, but uses context.Background() as the context.
func (*Volume1) VolumeDec ¶
VolumeDec is the legacy version of VolumeDecCtx, but uses context.Background() as the context.
func (*Volume1) VolumeDecCtx ¶
func (*Volume1) VolumeInc ¶
VolumeInc is the legacy version of VolumeIncCtx, but uses context.Background() as the context.
func (*Volume1) VolumeIncCtx ¶
func (*Volume1) VolumeLimit ¶
VolumeLimit is the legacy version of VolumeLimitCtx, but uses context.Background() as the context.
type Volume2 ¶
type Volume2 struct {
goupnp.ServiceClient
}
Volume2 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Volume:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewVolume2Clients ¶
NewVolume2Clients is the legacy version of NewVolume2ClientsCtx, but uses context.Background() as the context.
func NewVolume2ClientsByURL ¶
NewVolume2ClientsByURL is the legacy version of NewVolume2ClientsByURLCtx, but uses context.Background() as the context.
func NewVolume2ClientsByURLCtx ¶
NewVolume2ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewVolume2ClientsCtx ¶
NewVolume2ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewVolume2ClientsFromRootDevice ¶
func NewVolume2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Volume2, error)
NewVolume2ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Volume2) Balance ¶
Balance is the legacy version of BalanceCtx, but uses context.Background() as the context.
func (*Volume2) BalanceCtx ¶
func (*Volume2) BalanceDec ¶
BalanceDec is the legacy version of BalanceDecCtx, but uses context.Background() as the context.
func (*Volume2) BalanceDecCtx ¶
func (*Volume2) BalanceInc ¶
BalanceInc is the legacy version of BalanceIncCtx, but uses context.Background() as the context.
func (*Volume2) BalanceIncCtx ¶
func (*Volume2) Characteristics ¶
func (client *Volume2) Characteristics() (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, VolumeMilliDbPerStep uint32, BalanceMax uint32, FadeMax uint32, err error)
Characteristics is the legacy version of CharacteristicsCtx, but uses context.Background() as the context.
func (*Volume2) CharacteristicsCtx ¶
func (*Volume2) Fade ¶
Fade is the legacy version of FadeCtx, but uses context.Background() as the context.
func (*Volume2) FadeDec ¶
FadeDec is the legacy version of FadeDecCtx, but uses context.Background() as the context.
func (*Volume2) FadeInc ¶
FadeInc is the legacy version of FadeIncCtx, but uses context.Background() as the context.
func (*Volume2) Mute ¶
Mute is the legacy version of MuteCtx, but uses context.Background() as the context.
func (*Volume2) SetBalance ¶
SetBalance is the legacy version of SetBalanceCtx, but uses context.Background() as the context.
func (*Volume2) SetBalanceCtx ¶
func (*Volume2) SetFade ¶
SetFade is the legacy version of SetFadeCtx, but uses context.Background() as the context.
func (*Volume2) SetFadeCtx ¶
func (*Volume2) SetMute ¶
SetMute is the legacy version of SetMuteCtx, but uses context.Background() as the context.
func (*Volume2) SetMuteCtx ¶
func (*Volume2) SetVolume ¶
SetVolume is the legacy version of SetVolumeCtx, but uses context.Background() as the context.
func (*Volume2) SetVolumeCtx ¶
func (*Volume2) UnityGain ¶
UnityGain is the legacy version of UnityGainCtx, but uses context.Background() as the context.
func (*Volume2) UnityGainCtx ¶
func (*Volume2) Volume ¶
Volume is the legacy version of VolumeCtx, but uses context.Background() as the context.
func (*Volume2) VolumeDec ¶
VolumeDec is the legacy version of VolumeDecCtx, but uses context.Background() as the context.
func (*Volume2) VolumeDecCtx ¶
func (*Volume2) VolumeInc ¶
VolumeInc is the legacy version of VolumeIncCtx, but uses context.Background() as the context.
func (*Volume2) VolumeIncCtx ¶
func (*Volume2) VolumeLimit ¶
VolumeLimit is the legacy version of VolumeLimitCtx, but uses context.Background() as the context.
type Volume3 ¶
type Volume3 struct {
goupnp.ServiceClient
}
Volume3 is a client for UPnP SOAP service with URN "urn:av-openhome-org:service:Volume:3". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.
func NewVolume3Clients ¶
NewVolume3Clients is the legacy version of NewVolume3ClientsCtx, but uses context.Background() as the context.
func NewVolume3ClientsByURL ¶
NewVolume3ClientsByURL is the legacy version of NewVolume3ClientsByURLCtx, but uses context.Background() as the context.
func NewVolume3ClientsByURLCtx ¶
NewVolume3ClientsByURLCtx discovers instances of the service at the given URL, and returns clients to any that are found. An error is returned if there was an error probing the service.
This is a typical entry calling point into this package when reusing an previously discovered service URL.
func NewVolume3ClientsCtx ¶
NewVolume3ClientsCtx discovers instances of the service on the network, and returns clients to any that are found. errors will contain an error for any devices that replied but which could not be queried, and err will be set if the discovery process failed outright.
This is a typical entry calling point into this package.
func NewVolume3ClientsFromRootDevice ¶
func NewVolume3ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Volume3, error)
NewVolume3ClientsFromRootDevice discovers instances of the service in a given root device, and returns clients to any that are found. An error is returned if there was not at least one instance of the service within the device. The location parameter is simply assigned to the Location attribute of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an previously discovered root device.
func (*Volume3) Balance ¶
Balance is the legacy version of BalanceCtx, but uses context.Background() as the context.
func (*Volume3) BalanceCtx ¶
func (*Volume3) BalanceDec ¶
BalanceDec is the legacy version of BalanceDecCtx, but uses context.Background() as the context.
func (*Volume3) BalanceDecCtx ¶
func (*Volume3) BalanceInc ¶
BalanceInc is the legacy version of BalanceIncCtx, but uses context.Background() as the context.
func (*Volume3) BalanceIncCtx ¶
func (*Volume3) Characteristics ¶
func (client *Volume3) Characteristics() (VolumeMax uint32, VolumeUnity uint32, VolumeSteps uint32, VolumeMilliDbPerStep uint32, BalanceMax uint32, FadeMax uint32, err error)
Characteristics is the legacy version of CharacteristicsCtx, but uses context.Background() as the context.
func (*Volume3) CharacteristicsCtx ¶
func (*Volume3) Fade ¶
Fade is the legacy version of FadeCtx, but uses context.Background() as the context.
func (*Volume3) FadeDec ¶
FadeDec is the legacy version of FadeDecCtx, but uses context.Background() as the context.
func (*Volume3) FadeInc ¶
FadeInc is the legacy version of FadeIncCtx, but uses context.Background() as the context.
func (*Volume3) Mute ¶
Mute is the legacy version of MuteCtx, but uses context.Background() as the context.
func (*Volume3) SetBalance ¶
SetBalance is the legacy version of SetBalanceCtx, but uses context.Background() as the context.
func (*Volume3) SetBalanceCtx ¶
func (*Volume3) SetFade ¶
SetFade is the legacy version of SetFadeCtx, but uses context.Background() as the context.
func (*Volume3) SetFadeCtx ¶
func (*Volume3) SetMute ¶
SetMute is the legacy version of SetMuteCtx, but uses context.Background() as the context.
func (*Volume3) SetMuteCtx ¶
func (*Volume3) SetTrim ¶
SetTrim is the legacy version of SetTrimCtx, but uses context.Background() as the context.
func (*Volume3) SetTrimCtx ¶
func (*Volume3) SetVolume ¶
SetVolume is the legacy version of SetVolumeCtx, but uses context.Background() as the context.
func (*Volume3) SetVolumeCtx ¶
func (*Volume3) SetVolumeOffset ¶
SetVolumeOffset is the legacy version of SetVolumeOffsetCtx, but uses context.Background() as the context.
func (*Volume3) SetVolumeOffsetCtx ¶
func (*Volume3) Trim ¶
Trim is the legacy version of TrimCtx, but uses context.Background() as the context.
func (*Volume3) UnityGain ¶
UnityGain is the legacy version of UnityGainCtx, but uses context.Background() as the context.
func (*Volume3) UnityGainCtx ¶
func (*Volume3) Volume ¶
Volume is the legacy version of VolumeCtx, but uses context.Background() as the context.
func (*Volume3) VolumeDec ¶
VolumeDec is the legacy version of VolumeDecCtx, but uses context.Background() as the context.
func (*Volume3) VolumeDecCtx ¶
func (*Volume3) VolumeInc ¶
VolumeInc is the legacy version of VolumeIncCtx, but uses context.Background() as the context.
func (*Volume3) VolumeIncCtx ¶
func (*Volume3) VolumeLimit ¶
VolumeLimit is the legacy version of VolumeLimitCtx, but uses context.Background() as the context.
func (*Volume3) VolumeLimitCtx ¶
func (*Volume3) VolumeOffset ¶
VolumeOffset is the legacy version of VolumeOffsetCtx, but uses context.Background() as the context.