C# Class OpenHome.Net.ControlPoint.Proxies.CpProxyAvOpenhomeOrgSender1

Proxy for the av.openhome.org:Sender:1 UPnP service
Inheritance: OpenHome.Net.ControlPoint.CpProxy, IDisposable, ICpProxyAvOpenhomeOrgSender1
Afficher le fichier Open project: openhome/ohNet Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AttributesPropertyChanged ( ) : void
AudioPropertyChanged ( ) : void
MetadataPropertyChanged ( ) : void
PresentationUrlPropertyChanged ( ) : void
StatusPropertyChanged ( ) : void

Method Details

BeginAttributes() public méthode

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
Résultat void

BeginAudio() public méthode

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
Résultat void

BeginMetadata() public méthode

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
Résultat void

BeginPresentationUrl() public méthode

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
Résultat void

BeginStatus() public méthode

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
Résultat void

CpProxyAvOpenhomeOrgSender1() public méthode

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
Résultat System

Dispose() public méthode

Must be called for each class instance. Must be called before Core.Library.Close().
public Dispose ( ) : void
Résultat void

EndAttributes() public méthode

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
Résultat void

EndAudio() public méthode

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
Résultat void

EndMetadata() public méthode

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
Résultat void

EndPresentationUrl() public méthode

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
Résultat void

EndStatus() public méthode

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
Résultat void

PropertyAttributes() public méthode

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
Résultat String

PropertyAudio() public méthode

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
Résultat bool

PropertyMetadata() public méthode

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
Résultat String

PropertyPresentationUrl() public méthode

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
Résultat String

PropertyStatus() public méthode

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
Résultat String

SetPropertyAttributesChanged() public méthode

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
Résultat void

SetPropertyAudioChanged() public méthode

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
Résultat void

SetPropertyMetadataChanged() public méthode

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
Résultat void

SetPropertyPresentationUrlChanged() public méthode

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
Résultat void

SetPropertyStatusChanged() public méthode

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
Résultat void

SyncAttributes() public méthode

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
Résultat void

SyncAudio() public méthode

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
Résultat void

SyncMetadata() public méthode

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
Résultat void

SyncPresentationUrl() public méthode

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
Résultat void

SyncStatus() public méthode

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
Résultat void