C# Класс OpenHome.Net.ControlPoint.Proxies.CpProxyAvOpenhomeOrgSender1

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

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

Метод Описание
BeginAttributes ( CallbackAsyncComplete aCallback ) : void

Invoke the action asynchronously

Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndAttributes().

BeginAudio ( CallbackAsyncComplete aCallback ) : void

Invoke the action asynchronously

Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndAudio().

BeginMetadata ( CallbackAsyncComplete aCallback ) : void

Invoke the action asynchronously

Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndMetadata().

BeginPresentationUrl ( CallbackAsyncComplete aCallback ) : void

Invoke the action asynchronously

Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndPresentationUrl().

BeginStatus ( CallbackAsyncComplete aCallback ) : void

Invoke the action asynchronously

Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndStatus().

CpProxyAvOpenhomeOrgSender1 ( ICpDevice aDevice ) : System

Constructor

Use CpProxy::[Un]Subscribe() to enable/disable querying of state variable and reporting of their changes.

Dispose ( ) : void

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

EndAttributes ( IntPtr aAsyncHandle, String &aValue ) : void

Retrieve the output arguments from an asynchronously invoked action.

This may only be called from the callback set in the above Begin function.

EndAudio ( IntPtr aAsyncHandle, bool &aValue ) : void

Retrieve the output arguments from an asynchronously invoked action.

This may only be called from the callback set in the above Begin function.

EndMetadata ( IntPtr aAsyncHandle, String &aValue ) : void

Retrieve the output arguments from an asynchronously invoked action.

This may only be called from the callback set in the above Begin function.

EndPresentationUrl ( IntPtr aAsyncHandle, String &aValue ) : void

Retrieve the output arguments from an asynchronously invoked action.

This may only be called from the callback set in the above Begin function.

EndStatus ( IntPtr aAsyncHandle, String &aValue ) : void

Retrieve the output arguments from an asynchronously invoked action.

This may only be called from the callback set in the above Begin function.

PropertyAttributes ( ) : String

Query the value of the Attributes property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

PropertyAudio ( ) : bool

Query the value of the Audio property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

PropertyMetadata ( ) : String

Query the value of the Metadata property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

PropertyPresentationUrl ( ) : String

Query the value of the PresentationUrl property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

PropertyStatus ( ) : String

Query the value of the Status property.

This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().

SetPropertyAttributesChanged ( System aAttributesChanged ) : void

Set a delegate to be run when the Attributes state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyAvOpenhomeOrgSender1 instance will not overlap.

SetPropertyAudioChanged ( System aAudioChanged ) : void

Set a delegate to be run when the Audio state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyAvOpenhomeOrgSender1 instance will not overlap.

SetPropertyMetadataChanged ( System aMetadataChanged ) : void

Set a delegate to be run when the Metadata state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyAvOpenhomeOrgSender1 instance will not overlap.

SetPropertyPresentationUrlChanged ( System aPresentationUrlChanged ) : void

Set a delegate to be run when the PresentationUrl state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyAvOpenhomeOrgSender1 instance will not overlap.

SetPropertyStatusChanged ( System aStatusChanged ) : void

Set a delegate to be run when the Status state variable changes.

Callbacks may be run in different threads but callbacks for a CpProxyAvOpenhomeOrgSender1 instance will not overlap.

SyncAttributes ( String &aValue ) : void

Invoke the action synchronously

Blocks until the action has been processed on the device and sets any output arguments

SyncAudio ( bool &aValue ) : void

Invoke the action synchronously

Blocks until the action has been processed on the device and sets any output arguments

SyncMetadata ( String &aValue ) : void

Invoke the action synchronously

Blocks until the action has been processed on the device and sets any output arguments

SyncPresentationUrl ( String &aValue ) : void

Invoke the action synchronously

Blocks until the action has been processed on the device and sets any output arguments

SyncStatus ( String &aValue ) : void

Invoke the action synchronously

Blocks until the action has been processed on the device and sets any output arguments

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

Метод Описание
AttributesPropertyChanged ( ) : void
AudioPropertyChanged ( ) : void
MetadataPropertyChanged ( ) : void
PresentationUrlPropertyChanged ( ) : void
StatusPropertyChanged ( ) : void

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

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

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndAttributes().
public BeginAttributes ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndAudio().
public BeginAudio ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndMetadata().
public BeginMetadata ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndPresentationUrl().
public BeginPresentationUrl ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

Invoke the action asynchronously
Returns immediately and will run the client-specified callback when the action later completes. Any output arguments can then be retrieved by calling EndStatus().
public BeginStatus ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

Constructor
Use CpProxy::[Un]Subscribe() to enable/disable querying of state variable and reporting of their changes.
public CpProxyAvOpenhomeOrgSender1 ( ICpDevice aDevice ) : System
aDevice ICpDevice The device to use
Результат System

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

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

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

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndAttributes ( IntPtr aAsyncHandle, String &aValue ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aValue String
Результат void

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

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndAudio ( IntPtr aAsyncHandle, bool &aValue ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aValue bool
Результат void

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

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndMetadata ( IntPtr aAsyncHandle, String &aValue ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aValue String
Результат void

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

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndPresentationUrl ( IntPtr aAsyncHandle, String &aValue ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aValue String
Результат void

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

Retrieve the output arguments from an asynchronously invoked action.
This may only be called from the callback set in the above Begin function.
public EndStatus ( IntPtr aAsyncHandle, String &aValue ) : void
aAsyncHandle System.IntPtr Argument passed to the delegate set in the above Begin function
aValue String
Результат void

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

Query the value of the Attributes property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertyAttributes ( ) : String
Результат String

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

Query the value of the Audio property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertyAudio ( ) : bool
Результат bool

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

Query the value of the Metadata property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertyMetadata ( ) : String
Результат String

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

Query the value of the PresentationUrl property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertyPresentationUrl ( ) : String
Результат String

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

Query the value of the Status property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertyStatus ( ) : String
Результат String

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

Set a delegate to be run when the Attributes state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyAvOpenhomeOrgSender1 instance will not overlap.
public SetPropertyAttributesChanged ( System aAttributesChanged ) : void
aAttributesChanged System The delegate to run when the state variable changes
Результат void

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

Set a delegate to be run when the Audio state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyAvOpenhomeOrgSender1 instance will not overlap.
public SetPropertyAudioChanged ( System aAudioChanged ) : void
aAudioChanged System The delegate to run when the state variable changes
Результат void

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

Set a delegate to be run when the Metadata state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyAvOpenhomeOrgSender1 instance will not overlap.
public SetPropertyMetadataChanged ( System aMetadataChanged ) : void
aMetadataChanged System The delegate to run when the state variable changes
Результат void

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

Set a delegate to be run when the PresentationUrl state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyAvOpenhomeOrgSender1 instance will not overlap.
public SetPropertyPresentationUrlChanged ( System aPresentationUrlChanged ) : void
aPresentationUrlChanged System The delegate to run when the state variable changes
Результат void

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

Set a delegate to be run when the Status state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyAvOpenhomeOrgSender1 instance will not overlap.
public SetPropertyStatusChanged ( System aStatusChanged ) : void
aStatusChanged System The delegate to run when the state variable changes
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncAttributes ( String &aValue ) : void
aValue String
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncAudio ( bool &aValue ) : void
aValue bool
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncMetadata ( String &aValue ) : void
aValue String
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncPresentationUrl ( String &aValue ) : void
aValue String
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncStatus ( String &aValue ) : void
aValue String
Результат void