C# 클래스 OpenHome.Net.ControlPoint.Proxies.CpProxyAvOpenhomeOrgSender1

Proxy for the av.openhome.org:Sender:1 UPnP service
상속: OpenHome.Net.ControlPoint.CpProxy, IDisposable, ICpProxyAvOpenhomeOrgSender1
파일 보기 프로젝트 열기: openhome/ohNet 1 사용 예제들

공개 메소드들

메소드 설명
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