C# Класс OpenHome.Net.Device.Providers.DvProviderAvOpenhomeOrgSender1

Provider for the av.openhome.org:Sender:1 UPnP service
Наследование: DvProvider, IDisposable, IDvProviderAvOpenhomeOrgSender1
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Must be called for each class instance. Must be called before Core.Library.Close().

EnablePropertyAttributes ( ) : void

Enable the Attributes property.

EnablePropertyAudio ( ) : void

Enable the Audio property.

EnablePropertyMetadata ( ) : void

Enable the Metadata property.

EnablePropertyPresentationUrl ( ) : void

Enable the PresentationUrl property.

EnablePropertyStatus ( ) : void

Enable the Status property.

PropertyAttributes ( ) : string

Get a copy of the value of the Attributes property

Can only be called if EnablePropertyAttributes has previously been called.

PropertyAudio ( ) : bool

Get a copy of the value of the Audio property

Can only be called if EnablePropertyAudio has previously been called.

PropertyMetadata ( ) : string

Get a copy of the value of the Metadata property

Can only be called if EnablePropertyMetadata has previously been called.

PropertyPresentationUrl ( ) : string

Get a copy of the value of the PresentationUrl property

Can only be called if EnablePropertyPresentationUrl has previously been called.

PropertyStatus ( ) : string

Get a copy of the value of the Status property

Can only be called if EnablePropertyStatus has previously been called.

SetPropertyAttributes ( string aValue ) : bool

Set the value of the Attributes property

Can only be called if EnablePropertyAttributes has previously been called.

SetPropertyAudio ( bool aValue ) : bool

Set the value of the Audio property

Can only be called if EnablePropertyAudio has previously been called.

SetPropertyMetadata ( string aValue ) : bool

Set the value of the Metadata property

Can only be called if EnablePropertyMetadata has previously been called.

SetPropertyPresentationUrl ( string aValue ) : bool

Set the value of the PresentationUrl property

Can only be called if EnablePropertyPresentationUrl has previously been called.

SetPropertyStatus ( string aValue ) : bool

Set the value of the Status property

Can only be called if EnablePropertyStatus has previously been called.

Защищенные методы

Метод Описание
Attributes ( IDvInvocation aInvocation, string &aValue ) : void

Attributes action.

Will be called when the device stack receives an invocation of the Attributes action for the owning device. Must be implemented iff EnableActionAttributes was called.

Audio ( IDvInvocation aInvocation, bool &aValue ) : void

Audio action.

Will be called when the device stack receives an invocation of the Audio action for the owning device. Must be implemented iff EnableActionAudio was called.

DvProviderAvOpenhomeOrgSender1 ( DvDevice aDevice ) : System

Constructor

EnableActionAttributes ( ) : void

Signal that the action Attributes is supported.

The action's availability will be published in the device's service.xml. Attributes must be overridden if this is called.

EnableActionAudio ( ) : void

Signal that the action Audio is supported.

The action's availability will be published in the device's service.xml. Audio must be overridden if this is called.

EnableActionMetadata ( ) : void

Signal that the action Metadata is supported.

The action's availability will be published in the device's service.xml. Metadata must be overridden if this is called.

EnableActionPresentationUrl ( ) : void

Signal that the action PresentationUrl is supported.

The action's availability will be published in the device's service.xml. PresentationUrl must be overridden if this is called.

EnableActionStatus ( ) : void

Signal that the action Status is supported.

The action's availability will be published in the device's service.xml. Status must be overridden if this is called.

Metadata ( IDvInvocation aInvocation, string &aValue ) : void

Metadata action.

Will be called when the device stack receives an invocation of the Metadata action for the owning device. Must be implemented iff EnableActionMetadata was called.

PresentationUrl ( IDvInvocation aInvocation, string &aValue ) : void

PresentationUrl action.

Will be called when the device stack receives an invocation of the PresentationUrl action for the owning device. Must be implemented iff EnableActionPresentationUrl was called.

Status ( IDvInvocation aInvocation, string &aValue ) : void

Status action.

Will be called when the device stack receives an invocation of the Status action for the owning device. Must be implemented iff EnableActionStatus was called.

Приватные методы

Метод Описание
DoAttributes ( IntPtr aPtr, IntPtr aInvocation ) : int
DoAudio ( IntPtr aPtr, IntPtr aInvocation ) : int
DoMetadata ( IntPtr aPtr, IntPtr aInvocation ) : int
DoPresentationUrl ( IntPtr aPtr, IntPtr aInvocation ) : int
DoStatus ( IntPtr aPtr, IntPtr aInvocation ) : int

Описание методов

Attributes() защищенный Метод

Attributes action.
Will be called when the device stack receives an invocation of the Attributes action for the owning device. Must be implemented iff EnableActionAttributes was called.
protected Attributes ( IDvInvocation aInvocation, string &aValue ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aValue string
Результат void

Audio() защищенный Метод

Audio action.
Will be called when the device stack receives an invocation of the Audio action for the owning device. Must be implemented iff EnableActionAudio was called.
protected Audio ( IDvInvocation aInvocation, bool &aValue ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aValue bool
Результат void

Dispose() публичный Метод

Must be called for each class instance. Must be called before Core.Library.Close().
public Dispose ( ) : void
Результат void

DvProviderAvOpenhomeOrgSender1() защищенный Метод

Constructor
protected DvProviderAvOpenhomeOrgSender1 ( DvDevice aDevice ) : System
aDevice DvDevice Device which owns this provider
Результат System

EnableActionAttributes() защищенный Метод

Signal that the action Attributes is supported.
The action's availability will be published in the device's service.xml. Attributes must be overridden if this is called.
protected EnableActionAttributes ( ) : void
Результат void

EnableActionAudio() защищенный Метод

Signal that the action Audio is supported.
The action's availability will be published in the device's service.xml. Audio must be overridden if this is called.
protected EnableActionAudio ( ) : void
Результат void

EnableActionMetadata() защищенный Метод

Signal that the action Metadata is supported.
The action's availability will be published in the device's service.xml. Metadata must be overridden if this is called.
protected EnableActionMetadata ( ) : void
Результат void

EnableActionPresentationUrl() защищенный Метод

Signal that the action PresentationUrl is supported.
The action's availability will be published in the device's service.xml. PresentationUrl must be overridden if this is called.
protected EnableActionPresentationUrl ( ) : void
Результат void

EnableActionStatus() защищенный Метод

Signal that the action Status is supported.
The action's availability will be published in the device's service.xml. Status must be overridden if this is called.
protected EnableActionStatus ( ) : void
Результат void

EnablePropertyAttributes() публичный Метод

Enable the Attributes property.
public EnablePropertyAttributes ( ) : void
Результат void

EnablePropertyAudio() публичный Метод

Enable the Audio property.
public EnablePropertyAudio ( ) : void
Результат void

EnablePropertyMetadata() публичный Метод

Enable the Metadata property.
public EnablePropertyMetadata ( ) : void
Результат void

EnablePropertyPresentationUrl() публичный Метод

Enable the PresentationUrl property.
public EnablePropertyPresentationUrl ( ) : void
Результат void

EnablePropertyStatus() публичный Метод

Enable the Status property.
public EnablePropertyStatus ( ) : void
Результат void

Metadata() защищенный Метод

Metadata action.
Will be called when the device stack receives an invocation of the Metadata action for the owning device. Must be implemented iff EnableActionMetadata was called.
protected Metadata ( IDvInvocation aInvocation, string &aValue ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aValue string
Результат void

PresentationUrl() защищенный Метод

PresentationUrl action.
Will be called when the device stack receives an invocation of the PresentationUrl action for the owning device. Must be implemented iff EnableActionPresentationUrl was called.
protected PresentationUrl ( IDvInvocation aInvocation, string &aValue ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aValue string
Результат void

PropertyAttributes() публичный Метод

Get a copy of the value of the Attributes property
Can only be called if EnablePropertyAttributes has previously been called.
public PropertyAttributes ( ) : string
Результат string

PropertyAudio() публичный Метод

Get a copy of the value of the Audio property
Can only be called if EnablePropertyAudio has previously been called.
public PropertyAudio ( ) : bool
Результат bool

PropertyMetadata() публичный Метод

Get a copy of the value of the Metadata property
Can only be called if EnablePropertyMetadata has previously been called.
public PropertyMetadata ( ) : string
Результат string

PropertyPresentationUrl() публичный Метод

Get a copy of the value of the PresentationUrl property
Can only be called if EnablePropertyPresentationUrl has previously been called.
public PropertyPresentationUrl ( ) : string
Результат string

PropertyStatus() публичный Метод

Get a copy of the value of the Status property
Can only be called if EnablePropertyStatus has previously been called.
public PropertyStatus ( ) : string
Результат string

SetPropertyAttributes() публичный Метод

Set the value of the Attributes property
Can only be called if EnablePropertyAttributes has previously been called.
public SetPropertyAttributes ( string aValue ) : bool
aValue string New value for the property
Результат bool

SetPropertyAudio() публичный Метод

Set the value of the Audio property
Can only be called if EnablePropertyAudio has previously been called.
public SetPropertyAudio ( bool aValue ) : bool
aValue bool New value for the property
Результат bool

SetPropertyMetadata() публичный Метод

Set the value of the Metadata property
Can only be called if EnablePropertyMetadata has previously been called.
public SetPropertyMetadata ( string aValue ) : bool
aValue string New value for the property
Результат bool

SetPropertyPresentationUrl() публичный Метод

Set the value of the PresentationUrl property
Can only be called if EnablePropertyPresentationUrl has previously been called.
public SetPropertyPresentationUrl ( string aValue ) : bool
aValue string New value for the property
Результат bool

SetPropertyStatus() публичный Метод

Set the value of the Status property
Can only be called if EnablePropertyStatus has previously been called.
public SetPropertyStatus ( string aValue ) : bool
aValue string New value for the property
Результат bool

Status() защищенный Метод

Status action.
Will be called when the device stack receives an invocation of the Status action for the owning device. Must be implemented iff EnableActionStatus was called.
protected Status ( IDvInvocation aInvocation, string &aValue ) : void
aInvocation IDvInvocation Interface allowing querying of aspects of this particular action invocation.
aValue string
Результат void