av1

package
v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2016 License: GPL-3.0, BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

Client for UPnP Device Control Protocol MediaServer v1 and MediaRenderer v1.

This DCP is documented in detail at: http://upnp.org/specs/av/av1/

Typically, use one of the New* functions to create clients for services.

Index

Constants

View Source
const (
	URN_AVTransport_1        = "urn:schemas-upnp-org:service:AVTransport:1"
	URN_AVTransport_2        = "urn:schemas-upnp-org:service:AVTransport:2"
	URN_ConnectionManager_1  = "urn:schemas-upnp-org:service:ConnectionManager:1"
	URN_ConnectionManager_2  = "urn:schemas-upnp-org:service:ConnectionManager:2"
	URN_ContentDirectory_1   = "urn:schemas-upnp-org:service:ContentDirectory:1"
	URN_ContentDirectory_2   = "urn:schemas-upnp-org:service:ContentDirectory:2"
	URN_ContentDirectory_3   = "urn:schemas-upnp-org:service:ContentDirectory:3"
	URN_RenderingControl_1   = "urn:schemas-upnp-org:service:RenderingControl:1"
	URN_RenderingControl_2   = "urn:schemas-upnp-org:service:RenderingControl:2"
	URN_ScheduledRecording_1 = "urn:schemas-upnp-org:service:ScheduledRecording:1"
	URN_ScheduledRecording_2 = "urn:schemas-upnp-org:service:ScheduledRecording:2"
)

Service URNs:

Variables

This section is empty.

Functions

This section is empty.

Types

type AVTransport1

type AVTransport1 struct {
	goupnp.ServiceClient
}

AVTransport1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:AVTransport:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewAVTransport1Clients

func NewAVTransport1Clients() (clients []*AVTransport1, errors []error, err error)

NewAVTransport1Clients 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 NewAVTransport1ClientsByURL

func NewAVTransport1ClientsByURL(loc *url.URL) ([]*AVTransport1, error)

NewAVTransport1ClientsByURL 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 NewAVTransport1ClientsFromRootDevice

func NewAVTransport1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*AVTransport1, error)

NewAVTransport1ClientsFromRootDevice 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 (*AVTransport1) GetCurrentTransportActions

func (client *AVTransport1) GetCurrentTransportActions(InstanceID uint32) (Actions string, err error)

func (*AVTransport1) GetDeviceCapabilities

func (client *AVTransport1) GetDeviceCapabilities(InstanceID uint32) (PlayMedia string, RecMedia string, RecQualityModes string, err error)

func (*AVTransport1) GetMediaInfo

func (client *AVTransport1) GetMediaInfo(InstanceID uint32) (NrTracks uint32, MediaDuration string, CurrentURI string, CurrentURIMetaData string, NextURI string, NextURIMetaData string, PlayMedium string, RecordMedium string, WriteStatus string, err error)

Return values:

* NrTracks: allowed value range: minimum=0

func (*AVTransport1) GetPositionInfo

func (client *AVTransport1) GetPositionInfo(InstanceID uint32) (Track uint32, TrackDuration string, TrackMetaData string, TrackURI string, RelTime string, AbsTime string, RelCount int32, AbsCount int32, err error)

Return values:

* Track: allowed value range: minimum=0, step=1

func (*AVTransport1) GetTransportInfo

func (client *AVTransport1) GetTransportInfo(InstanceID uint32) (CurrentTransportState string, CurrentTransportStatus string, CurrentSpeed string, err error)

Return values:

* CurrentTransportState: allowed values: STOPPED, PLAYING

* CurrentTransportStatus: allowed values: OK, ERROR_OCCURRED

* CurrentSpeed: allowed values: 1

func (*AVTransport1) GetTransportSettings

func (client *AVTransport1) GetTransportSettings(InstanceID uint32) (PlayMode string, RecQualityMode string, err error)

Return values:

* PlayMode: allowed values: NORMAL

func (*AVTransport1) Next

func (client *AVTransport1) Next(InstanceID uint32) (err error)

func (*AVTransport1) Pause

func (client *AVTransport1) Pause(InstanceID uint32) (err error)

func (*AVTransport1) Play

func (client *AVTransport1) Play(InstanceID uint32, Speed string) (err error)

func (*AVTransport1) Previous

func (client *AVTransport1) Previous(InstanceID uint32) (err error)

func (*AVTransport1) Record

func (client *AVTransport1) Record(InstanceID uint32) (err error)

func (*AVTransport1) Seek

func (client *AVTransport1) Seek(InstanceID uint32, Unit string, Target string) (err error)

func (*AVTransport1) SetAVTransportURI

func (client *AVTransport1) SetAVTransportURI(InstanceID uint32, CurrentURI string, CurrentURIMetaData string) (err error)

func (*AVTransport1) SetNextAVTransportURI

func (client *AVTransport1) SetNextAVTransportURI(InstanceID uint32, NextURI string, NextURIMetaData string) (err error)

func (*AVTransport1) SetPlayMode

func (client *AVTransport1) SetPlayMode(InstanceID uint32, NewPlayMode string) (err error)

func (*AVTransport1) SetRecordQualityMode

func (client *AVTransport1) SetRecordQualityMode(InstanceID uint32, NewRecordQualityMode string) (err error)

func (*AVTransport1) Stop

func (client *AVTransport1) Stop(InstanceID uint32) (err error)

type AVTransport2

type AVTransport2 struct {
	goupnp.ServiceClient
}

AVTransport2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:AVTransport:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewAVTransport2Clients

func NewAVTransport2Clients() (clients []*AVTransport2, errors []error, err error)

NewAVTransport2Clients 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 NewAVTransport2ClientsByURL

func NewAVTransport2ClientsByURL(loc *url.URL) ([]*AVTransport2, error)

NewAVTransport2ClientsByURL 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 NewAVTransport2ClientsFromRootDevice

func NewAVTransport2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*AVTransport2, error)

NewAVTransport2ClientsFromRootDevice 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 (*AVTransport2) GetCurrentTransportActions

func (client *AVTransport2) GetCurrentTransportActions(InstanceID uint32) (Actions string, err error)

func (*AVTransport2) GetDRMState

func (client *AVTransport2) GetDRMState(InstanceID uint32) (CurrentDRMState string, err error)

Return values:

* CurrentDRMState: allowed values: OK

func (*AVTransport2) GetDeviceCapabilities

func (client *AVTransport2) GetDeviceCapabilities(InstanceID uint32) (PlayMedia string, RecMedia string, RecQualityModes string, err error)

func (*AVTransport2) GetMediaInfo

func (client *AVTransport2) GetMediaInfo(InstanceID uint32) (NrTracks uint32, MediaDuration string, CurrentURI string, CurrentURIMetaData string, NextURI string, NextURIMetaData string, PlayMedium string, RecordMedium string, WriteStatus string, err error)

Return values:

* NrTracks: allowed value range: minimum=0

func (*AVTransport2) GetMediaInfo_Ext

func (client *AVTransport2) GetMediaInfo_Ext(InstanceID uint32) (CurrentType string, NrTracks uint32, MediaDuration string, CurrentURI string, CurrentURIMetaData string, NextURI string, NextURIMetaData string, PlayMedium string, RecordMedium string, WriteStatus string, err error)

Return values:

* CurrentType: allowed values: NO_MEDIA, TRACK_AWARE, TRACK_UNAWARE

* NrTracks: allowed value range: minimum=0

func (*AVTransport2) GetPositionInfo

func (client *AVTransport2) GetPositionInfo(InstanceID uint32) (Track uint32, TrackDuration string, TrackMetaData string, TrackURI string, RelTime string, AbsTime string, RelCount int32, AbsCount int32, err error)

Return values:

* Track: allowed value range: minimum=0, step=1

func (*AVTransport2) GetStateVariables

func (client *AVTransport2) GetStateVariables(InstanceID uint32, StateVariableList string) (StateVariableValuePairs string, err error)

func (*AVTransport2) GetTransportInfo

func (client *AVTransport2) GetTransportInfo(InstanceID uint32) (CurrentTransportState string, CurrentTransportStatus string, CurrentSpeed string, err error)

Return values:

* CurrentTransportState: allowed values: STOPPED, PLAYING

* CurrentTransportStatus: allowed values: OK, ERROR_OCCURRED

* CurrentSpeed: allowed values: 1

func (*AVTransport2) GetTransportSettings

func (client *AVTransport2) GetTransportSettings(InstanceID uint32) (PlayMode string, RecQualityMode string, err error)

Return values:

* PlayMode: allowed values: NORMAL

func (*AVTransport2) Next

func (client *AVTransport2) Next(InstanceID uint32) (err error)

func (*AVTransport2) Pause

func (client *AVTransport2) Pause(InstanceID uint32) (err error)

func (*AVTransport2) Play

func (client *AVTransport2) Play(InstanceID uint32, Speed string) (err error)

func (*AVTransport2) Previous

func (client *AVTransport2) Previous(InstanceID uint32) (err error)

func (*AVTransport2) Record

func (client *AVTransport2) Record(InstanceID uint32) (err error)

func (*AVTransport2) Seek

func (client *AVTransport2) Seek(InstanceID uint32, Unit string, Target string) (err error)

func (*AVTransport2) SetAVTransportURI

func (client *AVTransport2) SetAVTransportURI(InstanceID uint32, CurrentURI string, CurrentURIMetaData string) (err error)

func (*AVTransport2) SetNextAVTransportURI

func (client *AVTransport2) SetNextAVTransportURI(InstanceID uint32, NextURI string, NextURIMetaData string) (err error)

func (*AVTransport2) SetPlayMode

func (client *AVTransport2) SetPlayMode(InstanceID uint32, NewPlayMode string) (err error)

func (*AVTransport2) SetRecordQualityMode

func (client *AVTransport2) SetRecordQualityMode(InstanceID uint32, NewRecordQualityMode string) (err error)

func (*AVTransport2) SetStateVariables

func (client *AVTransport2) SetStateVariables(InstanceID uint32, AVTransportUDN string, ServiceType string, ServiceId string, StateVariableValuePairs string) (StateVariableList string, err error)

func (*AVTransport2) Stop

func (client *AVTransport2) Stop(InstanceID uint32) (err error)

type ConnectionManager1

type ConnectionManager1 struct {
	goupnp.ServiceClient
}

ConnectionManager1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ConnectionManager:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewConnectionManager1Clients

func NewConnectionManager1Clients() (clients []*ConnectionManager1, errors []error, err error)

NewConnectionManager1Clients 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 NewConnectionManager1ClientsByURL

func NewConnectionManager1ClientsByURL(loc *url.URL) ([]*ConnectionManager1, error)

NewConnectionManager1ClientsByURL 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 NewConnectionManager1ClientsFromRootDevice

func NewConnectionManager1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ConnectionManager1, error)

NewConnectionManager1ClientsFromRootDevice 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 (*ConnectionManager1) ConnectionComplete

func (client *ConnectionManager1) ConnectionComplete(ConnectionID int32) (err error)

func (*ConnectionManager1) GetCurrentConnectionIDs

func (client *ConnectionManager1) GetCurrentConnectionIDs() (ConnectionIDs string, err error)

func (*ConnectionManager1) GetCurrentConnectionInfo

func (client *ConnectionManager1) GetCurrentConnectionInfo(ConnectionID int32) (RcsID int32, AVTransportID int32, ProtocolInfo string, PeerConnectionManager string, PeerConnectionID int32, Direction string, Status string, err error)

Return values:

* Direction: allowed values: Input, Output

* Status: allowed values: OK, ContentFormatMismatch, InsufficientBandwidth, UnreliableChannel, Unknown

func (*ConnectionManager1) GetProtocolInfo

func (client *ConnectionManager1) GetProtocolInfo() (Source string, Sink string, err error)

func (*ConnectionManager1) PrepareForConnection

func (client *ConnectionManager1) PrepareForConnection(RemoteProtocolInfo string, PeerConnectionManager string, PeerConnectionID int32, Direction string) (ConnectionID int32, AVTransportID int32, RcsID int32, err error)

type ConnectionManager2

type ConnectionManager2 struct {
	goupnp.ServiceClient
}

ConnectionManager2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ConnectionManager:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewConnectionManager2Clients

func NewConnectionManager2Clients() (clients []*ConnectionManager2, errors []error, err error)

NewConnectionManager2Clients 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 NewConnectionManager2ClientsByURL

func NewConnectionManager2ClientsByURL(loc *url.URL) ([]*ConnectionManager2, error)

NewConnectionManager2ClientsByURL 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 NewConnectionManager2ClientsFromRootDevice

func NewConnectionManager2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ConnectionManager2, error)

NewConnectionManager2ClientsFromRootDevice 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 (*ConnectionManager2) ConnectionComplete

func (client *ConnectionManager2) ConnectionComplete(ConnectionID int32) (err error)

func (*ConnectionManager2) GetCurrentConnectionIDs

func (client *ConnectionManager2) GetCurrentConnectionIDs() (ConnectionIDs string, err error)

func (*ConnectionManager2) GetCurrentConnectionInfo

func (client *ConnectionManager2) GetCurrentConnectionInfo(ConnectionID int32) (RcsID int32, AVTransportID int32, ProtocolInfo string, PeerConnectionManager string, PeerConnectionID int32, Direction string, Status string, err error)

Return values:

* Direction: allowed values: Input, Output

* Status: allowed values: OK, ContentFormatMismatch, InsufficientBandwidth, UnreliableChannel, Unknown

func (*ConnectionManager2) GetProtocolInfo

func (client *ConnectionManager2) GetProtocolInfo() (Source string, Sink string, err error)

func (*ConnectionManager2) PrepareForConnection

func (client *ConnectionManager2) PrepareForConnection(RemoteProtocolInfo string, PeerConnectionManager string, PeerConnectionID int32, Direction string) (ConnectionID int32, AVTransportID int32, RcsID int32, err error)

type ContentDirectory1

type ContentDirectory1 struct {
	goupnp.ServiceClient
}

ContentDirectory1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ContentDirectory:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewContentDirectory1Clients

func NewContentDirectory1Clients() (clients []*ContentDirectory1, errors []error, err error)

NewContentDirectory1Clients 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 NewContentDirectory1ClientsByURL

func NewContentDirectory1ClientsByURL(loc *url.URL) ([]*ContentDirectory1, error)

NewContentDirectory1ClientsByURL 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 NewContentDirectory1ClientsFromRootDevice

func NewContentDirectory1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ContentDirectory1, error)

NewContentDirectory1ClientsFromRootDevice 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 (*ContentDirectory1) Browse

func (client *ContentDirectory1) Browse(ObjectID string, BrowseFlag string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory1) CreateObject

func (client *ContentDirectory1) CreateObject(ContainerID string, Elements string) (ObjectID string, Result string, err error)

func (*ContentDirectory1) CreateReference

func (client *ContentDirectory1) CreateReference(ContainerID string, ObjectID string) (NewID string, err error)

func (*ContentDirectory1) DeleteResource

func (client *ContentDirectory1) DeleteResource(ResourceURI *url.URL) (err error)

func (*ContentDirectory1) DestroyObject

func (client *ContentDirectory1) DestroyObject(ObjectID string) (err error)

func (*ContentDirectory1) ExportResource

func (client *ContentDirectory1) ExportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

func (*ContentDirectory1) GetSearchCapabilities

func (client *ContentDirectory1) GetSearchCapabilities() (SearchCaps string, err error)

func (*ContentDirectory1) GetSortCapabilities

func (client *ContentDirectory1) GetSortCapabilities() (SortCaps string, err error)

func (*ContentDirectory1) GetSystemUpdateID

func (client *ContentDirectory1) GetSystemUpdateID() (Id uint32, err error)

func (*ContentDirectory1) GetTransferProgress

func (client *ContentDirectory1) GetTransferProgress(TransferID uint32) (TransferStatus string, TransferLength string, TransferTotal string, err error)

Return values:

* TransferStatus: allowed values: COMPLETED, ERROR, IN_PROGRESS, STOPPED

func (*ContentDirectory1) ImportResource

func (client *ContentDirectory1) ImportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

func (*ContentDirectory1) Search

func (client *ContentDirectory1) Search(ContainerID string, SearchCriteria string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory1) StopTransferResource

func (client *ContentDirectory1) StopTransferResource(TransferID uint32) (err error)

func (*ContentDirectory1) UpdateObject

func (client *ContentDirectory1) UpdateObject(ObjectID string, CurrentTagValue string, NewTagValue string) (err error)

type ContentDirectory2

type ContentDirectory2 struct {
	goupnp.ServiceClient
}

ContentDirectory2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ContentDirectory:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewContentDirectory2Clients

func NewContentDirectory2Clients() (clients []*ContentDirectory2, errors []error, err error)

NewContentDirectory2Clients 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 NewContentDirectory2ClientsByURL

func NewContentDirectory2ClientsByURL(loc *url.URL) ([]*ContentDirectory2, error)

NewContentDirectory2ClientsByURL 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 NewContentDirectory2ClientsFromRootDevice

func NewContentDirectory2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ContentDirectory2, error)

NewContentDirectory2ClientsFromRootDevice 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 (*ContentDirectory2) Browse

func (client *ContentDirectory2) Browse(ObjectID string, BrowseFlag string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory2) CreateObject

func (client *ContentDirectory2) CreateObject(ContainerID string, Elements string) (ObjectID string, Result string, err error)

func (*ContentDirectory2) CreateReference

func (client *ContentDirectory2) CreateReference(ContainerID string, ObjectID string) (NewID string, err error)

func (*ContentDirectory2) DeleteResource

func (client *ContentDirectory2) DeleteResource(ResourceURI *url.URL) (err error)

func (*ContentDirectory2) DestroyObject

func (client *ContentDirectory2) DestroyObject(ObjectID string) (err error)

func (*ContentDirectory2) ExportResource

func (client *ContentDirectory2) ExportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

func (*ContentDirectory2) GetFeatureList

func (client *ContentDirectory2) GetFeatureList() (FeatureList string, err error)

func (*ContentDirectory2) GetSearchCapabilities

func (client *ContentDirectory2) GetSearchCapabilities() (SearchCaps string, err error)

func (*ContentDirectory2) GetSortCapabilities

func (client *ContentDirectory2) GetSortCapabilities() (SortCaps string, err error)

func (*ContentDirectory2) GetSortExtensionCapabilities

func (client *ContentDirectory2) GetSortExtensionCapabilities() (SortExtensionCaps string, err error)

func (*ContentDirectory2) GetSystemUpdateID

func (client *ContentDirectory2) GetSystemUpdateID() (Id uint32, err error)

func (*ContentDirectory2) GetTransferProgress

func (client *ContentDirectory2) GetTransferProgress(TransferID uint32) (TransferStatus string, TransferLength string, TransferTotal string, err error)

Return values:

* TransferStatus: allowed values: COMPLETED, ERROR, IN_PROGRESS, STOPPED

func (*ContentDirectory2) ImportResource

func (client *ContentDirectory2) ImportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

func (*ContentDirectory2) MoveObject

func (client *ContentDirectory2) MoveObject(ObjectID string, NewParentID string) (NewObjectID string, err error)

func (*ContentDirectory2) Search

func (client *ContentDirectory2) Search(ContainerID string, SearchCriteria string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory2) StopTransferResource

func (client *ContentDirectory2) StopTransferResource(TransferID uint32) (err error)

func (*ContentDirectory2) UpdateObject

func (client *ContentDirectory2) UpdateObject(ObjectID string, CurrentTagValue string, NewTagValue string) (err error)

type ContentDirectory3

type ContentDirectory3 struct {
	goupnp.ServiceClient
}

ContentDirectory3 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ContentDirectory:3". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewContentDirectory3Clients

func NewContentDirectory3Clients() (clients []*ContentDirectory3, errors []error, err error)

NewContentDirectory3Clients 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 NewContentDirectory3ClientsByURL

func NewContentDirectory3ClientsByURL(loc *url.URL) ([]*ContentDirectory3, error)

NewContentDirectory3ClientsByURL 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 NewContentDirectory3ClientsFromRootDevice

func NewContentDirectory3ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ContentDirectory3, error)

NewContentDirectory3ClientsFromRootDevice 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 (*ContentDirectory3) Browse

func (client *ContentDirectory3) Browse(ObjectID string, BrowseFlag string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory3) CreateObject

func (client *ContentDirectory3) CreateObject(ContainerID string, Elements string) (ObjectID string, Result string, err error)

func (*ContentDirectory3) CreateReference

func (client *ContentDirectory3) CreateReference(ContainerID string, ObjectID string) (NewID string, err error)

func (*ContentDirectory3) DeleteResource

func (client *ContentDirectory3) DeleteResource(ResourceURI *url.URL) (err error)

func (*ContentDirectory3) DestroyObject

func (client *ContentDirectory3) DestroyObject(ObjectID string) (err error)

func (*ContentDirectory3) ExportResource

func (client *ContentDirectory3) ExportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

func (*ContentDirectory3) FreeFormQuery

func (client *ContentDirectory3) FreeFormQuery(ContainerID string, CDSView uint32, QueryRequest string) (QueryResult string, UpdateID uint32, err error)

func (*ContentDirectory3) GetFeatureList

func (client *ContentDirectory3) GetFeatureList() (FeatureList string, err error)

func (*ContentDirectory3) GetFreeFormQueryCapabilities

func (client *ContentDirectory3) GetFreeFormQueryCapabilities() (FFQCapabilities string, err error)

func (*ContentDirectory3) GetSearchCapabilities

func (client *ContentDirectory3) GetSearchCapabilities() (SearchCaps string, err error)

func (*ContentDirectory3) GetServiceResetToken

func (client *ContentDirectory3) GetServiceResetToken() (ResetToken string, err error)

func (*ContentDirectory3) GetSortCapabilities

func (client *ContentDirectory3) GetSortCapabilities() (SortCaps string, err error)

func (*ContentDirectory3) GetSortExtensionCapabilities

func (client *ContentDirectory3) GetSortExtensionCapabilities() (SortExtensionCaps string, err error)

func (*ContentDirectory3) GetSystemUpdateID

func (client *ContentDirectory3) GetSystemUpdateID() (Id uint32, err error)

func (*ContentDirectory3) GetTransferProgress

func (client *ContentDirectory3) GetTransferProgress(TransferID uint32) (TransferStatus string, TransferLength string, TransferTotal string, err error)

Return values:

* TransferStatus: allowed values: COMPLETED, ERROR, IN_PROGRESS, STOPPED

func (*ContentDirectory3) ImportResource

func (client *ContentDirectory3) ImportResource(SourceURI *url.URL, DestinationURI *url.URL) (TransferID uint32, err error)

func (*ContentDirectory3) MoveObject

func (client *ContentDirectory3) MoveObject(ObjectID string, NewParentID string) (NewObjectID string, err error)

func (*ContentDirectory3) Search

func (client *ContentDirectory3) Search(ContainerID string, SearchCriteria string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ContentDirectory3) StopTransferResource

func (client *ContentDirectory3) StopTransferResource(TransferID uint32) (err error)

func (*ContentDirectory3) UpdateObject

func (client *ContentDirectory3) UpdateObject(ObjectID string, CurrentTagValue string, NewTagValue string) (err error)

type RenderingControl1

type RenderingControl1 struct {
	goupnp.ServiceClient
}

RenderingControl1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:RenderingControl:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewRenderingControl1Clients

func NewRenderingControl1Clients() (clients []*RenderingControl1, errors []error, err error)

NewRenderingControl1Clients 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 NewRenderingControl1ClientsByURL

func NewRenderingControl1ClientsByURL(loc *url.URL) ([]*RenderingControl1, error)

NewRenderingControl1ClientsByURL 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 NewRenderingControl1ClientsFromRootDevice

func NewRenderingControl1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*RenderingControl1, error)

NewRenderingControl1ClientsFromRootDevice 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 (*RenderingControl1) GetBlueVideoBlackLevel

func (client *RenderingControl1) GetBlueVideoBlackLevel(InstanceID uint32) (CurrentBlueVideoBlackLevel uint16, err error)

Return values:

* CurrentBlueVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetBlueVideoGain

func (client *RenderingControl1) GetBlueVideoGain(InstanceID uint32) (CurrentBlueVideoGain uint16, err error)

Return values:

* CurrentBlueVideoGain: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetBrightness

func (client *RenderingControl1) GetBrightness(InstanceID uint32) (CurrentBrightness uint16, err error)

Return values:

* CurrentBrightness: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetColorTemperature

func (client *RenderingControl1) GetColorTemperature(InstanceID uint32) (CurrentColorTemperature uint16, err error)

Return values:

* CurrentColorTemperature: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetContrast

func (client *RenderingControl1) GetContrast(InstanceID uint32) (CurrentContrast uint16, err error)

Return values:

* CurrentContrast: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetGreenVideoBlackLevel

func (client *RenderingControl1) GetGreenVideoBlackLevel(InstanceID uint32) (CurrentGreenVideoBlackLevel uint16, err error)

Return values:

* CurrentGreenVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetGreenVideoGain

func (client *RenderingControl1) GetGreenVideoGain(InstanceID uint32) (CurrentGreenVideoGain uint16, err error)

Return values:

* CurrentGreenVideoGain: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetHorizontalKeystone

func (client *RenderingControl1) GetHorizontalKeystone(InstanceID uint32) (CurrentHorizontalKeystone int16, err error)

Return values:

* CurrentHorizontalKeystone: allowed value range: step=1

func (*RenderingControl1) GetLoudness

func (client *RenderingControl1) GetLoudness(InstanceID uint32, Channel string) (CurrentLoudness bool, err error)

func (*RenderingControl1) GetMute

func (client *RenderingControl1) GetMute(InstanceID uint32, Channel string) (CurrentMute bool, err error)

func (*RenderingControl1) GetRedVideoBlackLevel

func (client *RenderingControl1) GetRedVideoBlackLevel(InstanceID uint32) (CurrentRedVideoBlackLevel uint16, err error)

Return values:

* CurrentRedVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetRedVideoGain

func (client *RenderingControl1) GetRedVideoGain(InstanceID uint32) (CurrentRedVideoGain uint16, err error)

func (*RenderingControl1) GetSharpness

func (client *RenderingControl1) GetSharpness(InstanceID uint32) (CurrentSharpness uint16, err error)

Return values:

* CurrentSharpness: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetVerticalKeystone

func (client *RenderingControl1) GetVerticalKeystone(InstanceID uint32) (CurrentVerticalKeystone int16, err error)

Return values:

* CurrentVerticalKeystone: allowed value range: step=1

func (*RenderingControl1) GetVolume

func (client *RenderingControl1) GetVolume(InstanceID uint32, Channel string) (CurrentVolume uint16, err error)

Return values:

* CurrentVolume: allowed value range: minimum=0, step=1

func (*RenderingControl1) GetVolumeDB

func (client *RenderingControl1) GetVolumeDB(InstanceID uint32, Channel string) (CurrentVolume int16, err error)

func (*RenderingControl1) GetVolumeDBRange

func (client *RenderingControl1) GetVolumeDBRange(InstanceID uint32, Channel string) (MinValue int16, MaxValue int16, err error)

func (*RenderingControl1) ListPresets

func (client *RenderingControl1) ListPresets(InstanceID uint32) (CurrentPresetNameList string, err error)

func (*RenderingControl1) SelectPreset

func (client *RenderingControl1) SelectPreset(InstanceID uint32, PresetName string) (err error)

func (*RenderingControl1) SetBlueVideoBlackLevel

func (client *RenderingControl1) SetBlueVideoBlackLevel(InstanceID uint32, DesiredBlueVideoBlackLevel uint16) (err error)

func (*RenderingControl1) SetBlueVideoGain

func (client *RenderingControl1) SetBlueVideoGain(InstanceID uint32, DesiredBlueVideoGain uint16) (err error)

func (*RenderingControl1) SetBrightness

func (client *RenderingControl1) SetBrightness(InstanceID uint32, DesiredBrightness uint16) (err error)

func (*RenderingControl1) SetColorTemperature

func (client *RenderingControl1) SetColorTemperature(InstanceID uint32, DesiredColorTemperature uint16) (err error)

func (*RenderingControl1) SetContrast

func (client *RenderingControl1) SetContrast(InstanceID uint32, DesiredContrast uint16) (err error)

func (*RenderingControl1) SetGreenVideoBlackLevel

func (client *RenderingControl1) SetGreenVideoBlackLevel(InstanceID uint32, DesiredGreenVideoBlackLevel uint16) (err error)

func (*RenderingControl1) SetGreenVideoGain

func (client *RenderingControl1) SetGreenVideoGain(InstanceID uint32, DesiredGreenVideoGain uint16) (err error)

func (*RenderingControl1) SetHorizontalKeystone

func (client *RenderingControl1) SetHorizontalKeystone(InstanceID uint32, DesiredHorizontalKeystone int16) (err error)

func (*RenderingControl1) SetLoudness

func (client *RenderingControl1) SetLoudness(InstanceID uint32, Channel string, DesiredLoudness bool) (err error)

func (*RenderingControl1) SetMute

func (client *RenderingControl1) SetMute(InstanceID uint32, Channel string, DesiredMute bool) (err error)

func (*RenderingControl1) SetRedVideoBlackLevel

func (client *RenderingControl1) SetRedVideoBlackLevel(InstanceID uint32, DesiredRedVideoBlackLevel uint16) (err error)

func (*RenderingControl1) SetRedVideoGain

func (client *RenderingControl1) SetRedVideoGain(InstanceID uint32, DesiredRedVideoGain uint16) (err error)

func (*RenderingControl1) SetSharpness

func (client *RenderingControl1) SetSharpness(InstanceID uint32, DesiredSharpness uint16) (err error)

func (*RenderingControl1) SetVerticalKeystone

func (client *RenderingControl1) SetVerticalKeystone(InstanceID uint32, DesiredVerticalKeystone int16) (err error)

func (*RenderingControl1) SetVolume

func (client *RenderingControl1) SetVolume(InstanceID uint32, Channel string, DesiredVolume uint16) (err error)

func (*RenderingControl1) SetVolumeDB

func (client *RenderingControl1) SetVolumeDB(InstanceID uint32, Channel string, DesiredVolume int16) (err error)

type RenderingControl2

type RenderingControl2 struct {
	goupnp.ServiceClient
}

RenderingControl2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:RenderingControl:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewRenderingControl2Clients

func NewRenderingControl2Clients() (clients []*RenderingControl2, errors []error, err error)

NewRenderingControl2Clients 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 NewRenderingControl2ClientsByURL

func NewRenderingControl2ClientsByURL(loc *url.URL) ([]*RenderingControl2, error)

NewRenderingControl2ClientsByURL 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 NewRenderingControl2ClientsFromRootDevice

func NewRenderingControl2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*RenderingControl2, error)

NewRenderingControl2ClientsFromRootDevice 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 (*RenderingControl2) GetBlueVideoBlackLevel

func (client *RenderingControl2) GetBlueVideoBlackLevel(InstanceID uint32) (CurrentBlueVideoBlackLevel uint16, err error)

Return values:

* CurrentBlueVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetBlueVideoGain

func (client *RenderingControl2) GetBlueVideoGain(InstanceID uint32) (CurrentBlueVideoGain uint16, err error)

Return values:

* CurrentBlueVideoGain: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetBrightness

func (client *RenderingControl2) GetBrightness(InstanceID uint32) (CurrentBrightness uint16, err error)

Return values:

* CurrentBrightness: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetColorTemperature

func (client *RenderingControl2) GetColorTemperature(InstanceID uint32) (CurrentColorTemperature uint16, err error)

Return values:

* CurrentColorTemperature: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetContrast

func (client *RenderingControl2) GetContrast(InstanceID uint32) (CurrentContrast uint16, err error)

Return values:

* CurrentContrast: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetGreenVideoBlackLevel

func (client *RenderingControl2) GetGreenVideoBlackLevel(InstanceID uint32) (CurrentGreenVideoBlackLevel uint16, err error)

Return values:

* CurrentGreenVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetGreenVideoGain

func (client *RenderingControl2) GetGreenVideoGain(InstanceID uint32) (CurrentGreenVideoGain uint16, err error)

Return values:

* CurrentGreenVideoGain: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetHorizontalKeystone

func (client *RenderingControl2) GetHorizontalKeystone(InstanceID uint32) (CurrentHorizontalKeystone int16, err error)

Return values:

* CurrentHorizontalKeystone: allowed value range: step=1

func (*RenderingControl2) GetLoudness

func (client *RenderingControl2) GetLoudness(InstanceID uint32, Channel string) (CurrentLoudness bool, err error)

func (*RenderingControl2) GetMute

func (client *RenderingControl2) GetMute(InstanceID uint32, Channel string) (CurrentMute bool, err error)

func (*RenderingControl2) GetRedVideoBlackLevel

func (client *RenderingControl2) GetRedVideoBlackLevel(InstanceID uint32) (CurrentRedVideoBlackLevel uint16, err error)

Return values:

* CurrentRedVideoBlackLevel: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetRedVideoGain

func (client *RenderingControl2) GetRedVideoGain(InstanceID uint32) (CurrentRedVideoGain uint16, err error)

Return values:

* CurrentRedVideoGain: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetSharpness

func (client *RenderingControl2) GetSharpness(InstanceID uint32) (CurrentSharpness uint16, err error)

Return values:

* CurrentSharpness: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetStateVariables

func (client *RenderingControl2) GetStateVariables(InstanceID uint32, StateVariableList string) (StateVariableValuePairs string, err error)

func (*RenderingControl2) GetVerticalKeystone

func (client *RenderingControl2) GetVerticalKeystone(InstanceID uint32) (CurrentVerticalKeystone int16, err error)

Return values:

* CurrentVerticalKeystone: allowed value range: step=1

func (*RenderingControl2) GetVolume

func (client *RenderingControl2) GetVolume(InstanceID uint32, Channel string) (CurrentVolume uint16, err error)

Return values:

* CurrentVolume: allowed value range: minimum=0, step=1

func (*RenderingControl2) GetVolumeDB

func (client *RenderingControl2) GetVolumeDB(InstanceID uint32, Channel string) (CurrentVolume int16, err error)

func (*RenderingControl2) GetVolumeDBRange

func (client *RenderingControl2) GetVolumeDBRange(InstanceID uint32, Channel string) (MinValue int16, MaxValue int16, err error)

func (*RenderingControl2) ListPresets

func (client *RenderingControl2) ListPresets(InstanceID uint32) (CurrentPresetNameList string, err error)

func (*RenderingControl2) SelectPreset

func (client *RenderingControl2) SelectPreset(InstanceID uint32, PresetName string) (err error)

func (*RenderingControl2) SetBlueVideoBlackLevel

func (client *RenderingControl2) SetBlueVideoBlackLevel(InstanceID uint32, DesiredBlueVideoBlackLevel uint16) (err error)

func (*RenderingControl2) SetBlueVideoGain

func (client *RenderingControl2) SetBlueVideoGain(InstanceID uint32, DesiredBlueVideoGain uint16) (err error)

func (*RenderingControl2) SetBrightness

func (client *RenderingControl2) SetBrightness(InstanceID uint32, DesiredBrightness uint16) (err error)

func (*RenderingControl2) SetColorTemperature

func (client *RenderingControl2) SetColorTemperature(InstanceID uint32, DesiredColorTemperature uint16) (err error)

func (*RenderingControl2) SetContrast

func (client *RenderingControl2) SetContrast(InstanceID uint32, DesiredContrast uint16) (err error)

func (*RenderingControl2) SetGreenVideoBlackLevel

func (client *RenderingControl2) SetGreenVideoBlackLevel(InstanceID uint32, DesiredGreenVideoBlackLevel uint16) (err error)

func (*RenderingControl2) SetGreenVideoGain

func (client *RenderingControl2) SetGreenVideoGain(InstanceID uint32, DesiredGreenVideoGain uint16) (err error)

func (*RenderingControl2) SetHorizontalKeystone

func (client *RenderingControl2) SetHorizontalKeystone(InstanceID uint32, DesiredHorizontalKeystone int16) (err error)

func (*RenderingControl2) SetLoudness

func (client *RenderingControl2) SetLoudness(InstanceID uint32, Channel string, DesiredLoudness bool) (err error)

func (*RenderingControl2) SetMute

func (client *RenderingControl2) SetMute(InstanceID uint32, Channel string, DesiredMute bool) (err error)

func (*RenderingControl2) SetRedVideoBlackLevel

func (client *RenderingControl2) SetRedVideoBlackLevel(InstanceID uint32, DesiredRedVideoBlackLevel uint16) (err error)

func (*RenderingControl2) SetRedVideoGain

func (client *RenderingControl2) SetRedVideoGain(InstanceID uint32, DesiredRedVideoGain uint16) (err error)

func (*RenderingControl2) SetSharpness

func (client *RenderingControl2) SetSharpness(InstanceID uint32, DesiredSharpness uint16) (err error)

func (*RenderingControl2) SetStateVariables

func (client *RenderingControl2) SetStateVariables(InstanceID uint32, RenderingControlUDN string, ServiceType string, ServiceId string, StateVariableValuePairs string) (StateVariableList string, err error)

func (*RenderingControl2) SetVerticalKeystone

func (client *RenderingControl2) SetVerticalKeystone(InstanceID uint32, DesiredVerticalKeystone int16) (err error)

func (*RenderingControl2) SetVolume

func (client *RenderingControl2) SetVolume(InstanceID uint32, Channel string, DesiredVolume uint16) (err error)

func (*RenderingControl2) SetVolumeDB

func (client *RenderingControl2) SetVolumeDB(InstanceID uint32, Channel string, DesiredVolume int16) (err error)

type ScheduledRecording1

type ScheduledRecording1 struct {
	goupnp.ServiceClient
}

ScheduledRecording1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ScheduledRecording:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewScheduledRecording1Clients

func NewScheduledRecording1Clients() (clients []*ScheduledRecording1, errors []error, err error)

NewScheduledRecording1Clients 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 NewScheduledRecording1ClientsByURL

func NewScheduledRecording1ClientsByURL(loc *url.URL) ([]*ScheduledRecording1, error)

NewScheduledRecording1ClientsByURL 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 NewScheduledRecording1ClientsFromRootDevice

func NewScheduledRecording1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ScheduledRecording1, error)

NewScheduledRecording1ClientsFromRootDevice 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 (*ScheduledRecording1) BrowseRecordSchedules

func (client *ScheduledRecording1) BrowseRecordSchedules(Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ScheduledRecording1) BrowseRecordTasks

func (client *ScheduledRecording1) BrowseRecordTasks(RecordScheduleID string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ScheduledRecording1) CreateRecordSchedule

func (client *ScheduledRecording1) CreateRecordSchedule(Elements string) (RecordScheduleID string, Result string, UpdateID uint32, err error)

func (*ScheduledRecording1) DeleteRecordSchedule

func (client *ScheduledRecording1) DeleteRecordSchedule(RecordScheduleID string) (err error)

func (*ScheduledRecording1) DeleteRecordTask

func (client *ScheduledRecording1) DeleteRecordTask(RecordTaskID string) (err error)

func (*ScheduledRecording1) DisableRecordSchedule

func (client *ScheduledRecording1) DisableRecordSchedule(RecordScheduleID string) (err error)

func (*ScheduledRecording1) DisableRecordTask

func (client *ScheduledRecording1) DisableRecordTask(RecordTaskID string) (err error)

func (*ScheduledRecording1) EnableRecordSchedule

func (client *ScheduledRecording1) EnableRecordSchedule(RecordScheduleID string) (err error)

func (*ScheduledRecording1) EnableRecordTask

func (client *ScheduledRecording1) EnableRecordTask(RecordTaskID string) (err error)

func (*ScheduledRecording1) GetAllowedValues

func (client *ScheduledRecording1) GetAllowedValues(DataTypeID string, Filter string) (PropertyInfo string, err error)

func (*ScheduledRecording1) GetPropertyList

func (client *ScheduledRecording1) GetPropertyList(DataTypeID string) (PropertyList string, err error)

func (*ScheduledRecording1) GetRecordSchedule

func (client *ScheduledRecording1) GetRecordSchedule(RecordScheduleID string, Filter string) (Result string, UpdateID uint32, err error)

func (*ScheduledRecording1) GetRecordScheduleConflicts

func (client *ScheduledRecording1) GetRecordScheduleConflicts(RecordScheduleID string) (RecordScheduleConflictIDList string, UpdateID uint32, err error)

func (*ScheduledRecording1) GetRecordTask

func (client *ScheduledRecording1) GetRecordTask(RecordTaskID string, Filter string) (Result string, UpdateID uint32, err error)

func (*ScheduledRecording1) GetRecordTaskConflicts

func (client *ScheduledRecording1) GetRecordTaskConflicts(RecordTaskID string) (RecordTaskConflictIDList string, UpdateID uint32, err error)

func (*ScheduledRecording1) GetSortCapabilities

func (client *ScheduledRecording1) GetSortCapabilities() (SortCaps string, SortLevelCap uint32, err error)

func (*ScheduledRecording1) GetStateUpdateID

func (client *ScheduledRecording1) GetStateUpdateID() (Id uint32, err error)

func (*ScheduledRecording1) ResetRecordTask

func (client *ScheduledRecording1) ResetRecordTask(RecordTaskID string) (err error)

type ScheduledRecording2

type ScheduledRecording2 struct {
	goupnp.ServiceClient
}

ScheduledRecording2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:ScheduledRecording:2". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value.

func NewScheduledRecording2Clients

func NewScheduledRecording2Clients() (clients []*ScheduledRecording2, errors []error, err error)

NewScheduledRecording2Clients 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 NewScheduledRecording2ClientsByURL

func NewScheduledRecording2ClientsByURL(loc *url.URL) ([]*ScheduledRecording2, error)

NewScheduledRecording2ClientsByURL 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 NewScheduledRecording2ClientsFromRootDevice

func NewScheduledRecording2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*ScheduledRecording2, error)

NewScheduledRecording2ClientsFromRootDevice 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 (*ScheduledRecording2) BrowseRecordSchedules

func (client *ScheduledRecording2) BrowseRecordSchedules(Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ScheduledRecording2) BrowseRecordTasks

func (client *ScheduledRecording2) BrowseRecordTasks(RecordScheduleID string, Filter string, StartingIndex uint32, RequestedCount uint32, SortCriteria string) (Result string, NumberReturned uint32, TotalMatches uint32, UpdateID uint32, err error)

func (*ScheduledRecording2) CreateRecordSchedule

func (client *ScheduledRecording2) CreateRecordSchedule(Elements string) (RecordScheduleID string, Result string, UpdateID uint32, err error)

func (*ScheduledRecording2) DeleteRecordSchedule

func (client *ScheduledRecording2) DeleteRecordSchedule(RecordScheduleID string) (err error)

func (*ScheduledRecording2) DeleteRecordTask

func (client *ScheduledRecording2) DeleteRecordTask(RecordTaskID string) (err error)

func (*ScheduledRecording2) DisableRecordSchedule

func (client *ScheduledRecording2) DisableRecordSchedule(RecordScheduleID string) (err error)

func (*ScheduledRecording2) DisableRecordTask

func (client *ScheduledRecording2) DisableRecordTask(RecordTaskID string) (err error)

func (*ScheduledRecording2) EnableRecordSchedule

func (client *ScheduledRecording2) EnableRecordSchedule(RecordScheduleID string) (err error)

func (*ScheduledRecording2) EnableRecordTask

func (client *ScheduledRecording2) EnableRecordTask(RecordTaskID string) (err error)

func (*ScheduledRecording2) GetAllowedValues

func (client *ScheduledRecording2) GetAllowedValues(DataTypeID string, Filter string) (PropertyInfo string, err error)

func (*ScheduledRecording2) GetPropertyList

func (client *ScheduledRecording2) GetPropertyList(DataTypeID string) (PropertyList string, err error)

func (*ScheduledRecording2) GetRecordSchedule

func (client *ScheduledRecording2) GetRecordSchedule(RecordScheduleID string, Filter string) (Result string, UpdateID uint32, err error)

func (*ScheduledRecording2) GetRecordScheduleConflicts

func (client *ScheduledRecording2) GetRecordScheduleConflicts(RecordScheduleID string) (RecordScheduleConflictIDList string, UpdateID uint32, err error)

func (*ScheduledRecording2) GetRecordTask

func (client *ScheduledRecording2) GetRecordTask(RecordTaskID string, Filter string) (Result string, UpdateID uint32, err error)

func (*ScheduledRecording2) GetRecordTaskConflicts

func (client *ScheduledRecording2) GetRecordTaskConflicts(RecordTaskID string) (RecordTaskConflictIDList string, UpdateID uint32, err error)

func (*ScheduledRecording2) GetSortCapabilities

func (client *ScheduledRecording2) GetSortCapabilities() (SortCaps string, SortLevelCap uint32, err error)

func (*ScheduledRecording2) GetStateUpdateID

func (client *ScheduledRecording2) GetStateUpdateID() (Id uint32, err error)

func (*ScheduledRecording2) ResetRecordTask

func (client *ScheduledRecording2) ResetRecordTask(RecordTaskID string) (err error)

Jump to

Keyboard shortcuts

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