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

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

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

Метод Описание
BeginAddContainerToQueue ( String aQueueID, String aContainerID, String aSourceID, String aSearchCriteria, String aSortCriteria, uint aStartIndex, uint aEndIndex, uint aPosition, 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 EndAddContainerToQueue().

BeginAddItemToQueue ( String aQueueID, String aObjectID, uint aPosition, 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 EndAddItemToQueue().

BeginBrowse ( String aObjectID, String aBrowseFlag, String aFilter, uint aStartingIndex, uint aRequestedCount, String aSortCriteria, 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 EndBrowse().

BeginCreateQueue ( String aDesiredName, String aContainerID, 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 EndCreateQueue().

BeginCreateReference ( String aContainerID, String aObjectID, 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 EndCreateReference().

BeginDestroyObject ( String aObjectID, 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 EndDestroyObject().

BeginGetIndexerStatus ( 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 EndGetIndexerStatus().

BeginGetSearchCapabilities ( 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 EndGetSearchCapabilities().

BeginGetSortCapabilities ( 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 EndGetSortCapabilities().

BeginGetSourceInfo ( String aSourceID, 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 EndGetSourceInfo().

BeginGetSystemUpdateID ( 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 EndGetSystemUpdateID().

BeginMoveInQueue ( String aObjectID, uint aNewPosition, 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 EndMoveInQueue().

BeginQueryDatabaseState ( 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 EndQueryDatabaseState().

BeginRemoveFromQueue ( String aQueueID, uint aFromPosition, uint aToPosition, 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 EndRemoveFromQueue().

BeginRenameQueue ( String aQueueID, String aDesiredName, 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 EndRenameQueue().

BeginRescanSource ( String aSourceID, String aRescanMode, 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 EndRescanSource().

BeginResetDatabase ( String aScope, 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 EndResetDatabase().

BeginSearch ( String aContainerID, String aSearchCriteria, String aFilter, uint aStartingIndex, uint aRequestedCount, String aSortCriteria, 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 EndSearch().

BeginShuffle ( String aContainerID, String aSelection, 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 EndShuffle().

CpProxyUpnpOrgContentDirectory1 ( CpDevice 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().

EndAddContainerToQueue ( IntPtr aAsyncHandle ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndAddItemToQueue ( IntPtr aAsyncHandle ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndBrowse ( IntPtr aAsyncHandle, String &aResult, uint &aNumberReturned, uint &aTotalMatches, uint &aUpdateID ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndCreateQueue ( IntPtr aAsyncHandle, String &aGivenName, String &aQueueID, String &aMetaData ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndCreateReference ( IntPtr aAsyncHandle, String &aNewID ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndDestroyObject ( IntPtr aAsyncHandle ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndGetIndexerStatus ( IntPtr aAsyncHandle, String &aStatus ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndGetSearchCapabilities ( IntPtr aAsyncHandle, String &aSearchCaps ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndGetSortCapabilities ( IntPtr aAsyncHandle, String &aSortCaps ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndGetSourceInfo ( IntPtr aAsyncHandle, uint &aNumTracks, uint &aTotalSize, uint &aTotalDuration, uint &aScanProgress, String &aIndexerResult ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndGetSystemUpdateID ( IntPtr aAsyncHandle, uint &aId ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndMoveInQueue ( IntPtr aAsyncHandle, uint &aContainerUpdateID ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndQueryDatabaseState ( IntPtr aAsyncHandle, uint &aCurrentNumResources, uint &aCriticalNumResources, uint &aCurrentDiskUsage, uint &aMaxDiskUsage ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndRemoveFromQueue ( IntPtr aAsyncHandle, uint &aContainerUpdateID ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndRenameQueue ( IntPtr aAsyncHandle, String &aGivenName ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndRescanSource ( IntPtr aAsyncHandle ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndResetDatabase ( IntPtr aAsyncHandle ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndSearch ( IntPtr aAsyncHandle, String &aResult, uint &aNumberReturned, uint &aTotalMatches, uint &aUpdateID ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

EndShuffle ( IntPtr aAsyncHandle, String &aPlaylistID, String &aPlaylistMetadata ) : void

Retrieve the output arguments from an asynchronously invoked action.

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

PropertyA_ARG_TYPE_Scope ( ) : String

Query the value of the A_ARG_TYPE_Scope 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().

PropertyContainerUpdateIDs ( ) : String

Query the value of the ContainerUpdateIDs 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().

PropertyIndexerStatus ( ) : String

Query the value of the IndexerStatus 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().

PropertySystemUpdateID ( ) : uint

Query the value of the SystemUpdateID 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().

SetPropertyA_ARG_TYPE_ScopeChanged ( System aA_ARG_TYPE_ScopeChanged ) : void

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

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

SetPropertyContainerUpdateIDsChanged ( System aContainerUpdateIDsChanged ) : void

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

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

SetPropertyIndexerStatusChanged ( System aIndexerStatusChanged ) : void

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

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

SetPropertySystemUpdateIDChanged ( System aSystemUpdateIDChanged ) : void

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

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

SyncAddContainerToQueue ( String aQueueID, String aContainerID, String aSourceID, String aSearchCriteria, String aSortCriteria, uint aStartIndex, uint aEndIndex, uint aPosition ) : void

Invoke the action synchronously

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

SyncAddItemToQueue ( String aQueueID, String aObjectID, uint aPosition ) : void

Invoke the action synchronously

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

SyncBrowse ( String aObjectID, String aBrowseFlag, String aFilter, uint aStartingIndex, uint aRequestedCount, String aSortCriteria, String &aResult, uint &aNumberReturned, uint &aTotalMatches, uint &aUpdateID ) : void

Invoke the action synchronously

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

SyncCreateQueue ( String aDesiredName, String aContainerID, String &aGivenName, String &aQueueID, String &aMetaData ) : void

Invoke the action synchronously

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

SyncCreateReference ( String aContainerID, String aObjectID, String &aNewID ) : void

Invoke the action synchronously

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

SyncDestroyObject ( String aObjectID ) : void

Invoke the action synchronously

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

SyncGetIndexerStatus ( String &aStatus ) : void

Invoke the action synchronously

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

SyncGetSearchCapabilities ( String &aSearchCaps ) : void

Invoke the action synchronously

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

SyncGetSortCapabilities ( String &aSortCaps ) : void

Invoke the action synchronously

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

SyncGetSourceInfo ( String aSourceID, uint &aNumTracks, uint &aTotalSize, uint &aTotalDuration, uint &aScanProgress, String &aIndexerResult ) : void

Invoke the action synchronously

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

SyncGetSystemUpdateID ( uint &aId ) : void

Invoke the action synchronously

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

SyncMoveInQueue ( String aObjectID, uint aNewPosition, uint &aContainerUpdateID ) : void

Invoke the action synchronously

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

SyncQueryDatabaseState ( uint &aCurrentNumResources, uint &aCriticalNumResources, uint &aCurrentDiskUsage, uint &aMaxDiskUsage ) : void

Invoke the action synchronously

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

SyncRemoveFromQueue ( String aQueueID, uint aFromPosition, uint aToPosition, uint &aContainerUpdateID ) : void

Invoke the action synchronously

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

SyncRenameQueue ( String aQueueID, String aDesiredName, String &aGivenName ) : void

Invoke the action synchronously

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

SyncRescanSource ( String aSourceID, String aRescanMode ) : void

Invoke the action synchronously

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

SyncResetDatabase ( String aScope ) : void

Invoke the action synchronously

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

SyncSearch ( String aContainerID, String aSearchCriteria, String aFilter, uint aStartingIndex, uint aRequestedCount, String aSortCriteria, String &aResult, uint &aNumberReturned, uint &aTotalMatches, uint &aUpdateID ) : void

Invoke the action synchronously

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

SyncShuffle ( String aContainerID, String aSelection, String &aPlaylistID, String &aPlaylistMetadata ) : void

Invoke the action synchronously

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

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

Метод Описание
A_ARG_TYPE_ScopePropertyChanged ( ) : void
ContainerUpdateIDsPropertyChanged ( ) : void
IndexerStatusPropertyChanged ( ) : void
SystemUpdateIDPropertyChanged ( ) : void

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

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

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 EndAddContainerToQueue().
public BeginAddContainerToQueue ( String aQueueID, String aContainerID, String aSourceID, String aSearchCriteria, String aSortCriteria, uint aStartIndex, uint aEndIndex, uint aPosition, CallbackAsyncComplete aCallback ) : void
aQueueID String
aContainerID String
aSourceID String
aSearchCriteria String
aSortCriteria String
aStartIndex uint
aEndIndex uint
aPosition uint
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndAddItemToQueue().
public BeginAddItemToQueue ( String aQueueID, String aObjectID, uint aPosition, CallbackAsyncComplete aCallback ) : void
aQueueID String
aObjectID String
aPosition uint
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndBrowse().
public BeginBrowse ( String aObjectID, String aBrowseFlag, String aFilter, uint aStartingIndex, uint aRequestedCount, String aSortCriteria, CallbackAsyncComplete aCallback ) : void
aObjectID String
aBrowseFlag String
aFilter String
aStartingIndex uint
aRequestedCount uint
aSortCriteria String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndCreateQueue().
public BeginCreateQueue ( String aDesiredName, String aContainerID, CallbackAsyncComplete aCallback ) : void
aDesiredName String
aContainerID String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndCreateReference().
public BeginCreateReference ( String aContainerID, String aObjectID, CallbackAsyncComplete aCallback ) : void
aContainerID String
aObjectID String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndDestroyObject().
public BeginDestroyObject ( String aObjectID, CallbackAsyncComplete aCallback ) : void
aObjectID String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndGetIndexerStatus().
public BeginGetIndexerStatus ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndGetSearchCapabilities().
public BeginGetSearchCapabilities ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndGetSortCapabilities().
public BeginGetSortCapabilities ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndGetSourceInfo().
public BeginGetSourceInfo ( String aSourceID, CallbackAsyncComplete aCallback ) : void
aSourceID String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndGetSystemUpdateID().
public BeginGetSystemUpdateID ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndMoveInQueue().
public BeginMoveInQueue ( String aObjectID, uint aNewPosition, CallbackAsyncComplete aCallback ) : void
aObjectID String
aNewPosition uint
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndQueryDatabaseState().
public BeginQueryDatabaseState ( CallbackAsyncComplete aCallback ) : void
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndRemoveFromQueue().
public BeginRemoveFromQueue ( String aQueueID, uint aFromPosition, uint aToPosition, CallbackAsyncComplete aCallback ) : void
aQueueID String
aFromPosition uint
aToPosition uint
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndRenameQueue().
public BeginRenameQueue ( String aQueueID, String aDesiredName, CallbackAsyncComplete aCallback ) : void
aQueueID String
aDesiredName String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndRescanSource().
public BeginRescanSource ( String aSourceID, String aRescanMode, CallbackAsyncComplete aCallback ) : void
aSourceID String
aRescanMode String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndResetDatabase().
public BeginResetDatabase ( String aScope, CallbackAsyncComplete aCallback ) : void
aScope String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndSearch().
public BeginSearch ( String aContainerID, String aSearchCriteria, String aFilter, uint aStartingIndex, uint aRequestedCount, String aSortCriteria, CallbackAsyncComplete aCallback ) : void
aContainerID String
aSearchCriteria String
aFilter String
aStartingIndex uint
aRequestedCount uint
aSortCriteria String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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 EndShuffle().
public BeginShuffle ( String aContainerID, String aSelection, CallbackAsyncComplete aCallback ) : void
aContainerID String
aSelection String
aCallback CallbackAsyncComplete Delegate to run when the action completes. /// This is guaranteed to be run but may indicate an error
Результат void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Query the value of the A_ARG_TYPE_Scope 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 PropertyA_ARG_TYPE_Scope ( ) : String
Результат String

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

Query the value of the ContainerUpdateIDs 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 PropertyContainerUpdateIDs ( ) : String
Результат String

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

Query the value of the IndexerStatus 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 PropertyIndexerStatus ( ) : String
Результат String

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

Query the value of the SystemUpdateID 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 PropertySystemUpdateID ( ) : uint
Результат uint

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

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

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

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

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

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

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

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

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncAddContainerToQueue ( String aQueueID, String aContainerID, String aSourceID, String aSearchCriteria, String aSortCriteria, uint aStartIndex, uint aEndIndex, uint aPosition ) : void
aQueueID String
aContainerID String
aSourceID String
aSearchCriteria String
aSortCriteria String
aStartIndex uint
aEndIndex uint
aPosition uint
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncAddItemToQueue ( String aQueueID, String aObjectID, uint aPosition ) : void
aQueueID String
aObjectID String
aPosition uint
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncBrowse ( String aObjectID, String aBrowseFlag, String aFilter, uint aStartingIndex, uint aRequestedCount, String aSortCriteria, String &aResult, uint &aNumberReturned, uint &aTotalMatches, uint &aUpdateID ) : void
aObjectID String
aBrowseFlag String
aFilter String
aStartingIndex uint
aRequestedCount uint
aSortCriteria String
aResult String
aNumberReturned uint
aTotalMatches uint
aUpdateID uint
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncCreateQueue ( String aDesiredName, String aContainerID, String &aGivenName, String &aQueueID, String &aMetaData ) : void
aDesiredName String
aContainerID String
aGivenName String
aQueueID String
aMetaData String
Результат void

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

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

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

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

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

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

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

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

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

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

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncGetSourceInfo ( String aSourceID, uint &aNumTracks, uint &aTotalSize, uint &aTotalDuration, uint &aScanProgress, String &aIndexerResult ) : void
aSourceID String
aNumTracks uint
aTotalSize uint
aTotalDuration uint
aScanProgress uint
aIndexerResult String
Результат void

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

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

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncMoveInQueue ( String aObjectID, uint aNewPosition, uint &aContainerUpdateID ) : void
aObjectID String
aNewPosition uint
aContainerUpdateID uint
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncQueryDatabaseState ( uint &aCurrentNumResources, uint &aCriticalNumResources, uint &aCurrentDiskUsage, uint &aMaxDiskUsage ) : void
aCurrentNumResources uint
aCriticalNumResources uint
aCurrentDiskUsage uint
aMaxDiskUsage uint
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncRemoveFromQueue ( String aQueueID, uint aFromPosition, uint aToPosition, uint &aContainerUpdateID ) : void
aQueueID String
aFromPosition uint
aToPosition uint
aContainerUpdateID uint
Результат void

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

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

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

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

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

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

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncSearch ( String aContainerID, String aSearchCriteria, String aFilter, uint aStartingIndex, uint aRequestedCount, String aSortCriteria, String &aResult, uint &aNumberReturned, uint &aTotalMatches, uint &aUpdateID ) : void
aContainerID String
aSearchCriteria String
aFilter String
aStartingIndex uint
aRequestedCount uint
aSortCriteria String
aResult String
aNumberReturned uint
aTotalMatches uint
aUpdateID uint
Результат void

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

Invoke the action synchronously
Blocks until the action has been processed on the device and sets any output arguments
public SyncShuffle ( String aContainerID, String aSelection, String &aPlaylistID, String &aPlaylistMetadata ) : void
aContainerID String
aSelection String
aPlaylistID String
aPlaylistMetadata String
Результат void