C# Class RaumfeldNET.UPNPMediaList

Inheritance: MediaList
ファイルを表示 Open project: stoennies/raumwiese Class Usage Examples

Public Properties

Property Type Description
containerId String
containerInfoMetaData String

Protected Properties

Property Type Description
contentDirectory RaumfeldNET.UPNP.CpContentDirectory

Public Methods

Method Description
UPNPMediaList ( String _listId = "" ) : System
addItem ( MediaItem _mediaItem, Int32 _itemIndexTo, System.Boolean _sync = false, System.Boolean _fromList = false ) : void
addItems ( List _mediaItems, Int32 _itemIndexTo ) : void
addItems ( List _mediaItems, Int32 _itemIndexTo, System.Boolean _useThread = false ) : void
createItemsFromMetaData ( String _metaData ) : void
getListPositionOfObjectId ( String _objectId ) : int
isQueue ( ) : System.Boolean
moveItem ( Int32 _itemIndex, Int32 _itemIndexTo ) : void
removeItem ( Int32 _itemIndexFrom, Int32 _itemIndexTo ) : void
retrieveListByContainerId ( String _containerId, String _searchCriteria = "", System.Boolean _syncRequest = false ) : void
retrieveListByMetaData ( String _metaData ) : void
retriveList ( ) : void

Protected Methods

Method Description
addContainerSink ( CpContentDirectory _sender, Object _tag ) : void
addItemSink ( CpContentDirectory _sender, Object _tag ) : void
addShuffle ( MediaItem _mediaItem, Int32 _itemIndexTo, System.Boolean _sync ) : void
contentDirectory_BrowseSink ( CpContentDirectory sender, System ContainerID, System Filter, System StartingIndex, System RequestedCount, System SortCriteria, System Result, System NumberReturned, System TotalMatches, System UpdateID, Object e, object _Tag ) : void
contentDirectory_SearchSink ( CpContentDirectory sender, System ContainerID, System SearchCriteria, System Filter, System StartingIndex, System RequestedCount, System SortCriteria, System Result, System NumberReturned, System TotalMatches, System UpdateID, Object e, object _Tag ) : void
createItemsFromMetaDataNode ( XmlDocument _doc, XmlNamespaceManager _manager, string _nodeId ) : void
createMediaItemForMetaDataNode ( XmlNode _nodeItem, XmlNamespaceManager _manager ) : MediaItem
createQueue ( ) : System.Boolean
isItemViewable ( MediaItem _mediaItem ) : System.Boolean
listActionDone ( ) : void
moveItemSink ( CpContentDirectory _sender, uint _containerUpdateId, Object _tag ) : void
removeAllItems ( ) : void

Method Details

UPNPMediaList() public method

public UPNPMediaList ( String _listId = "" ) : System
_listId String
return System

addContainerSink() protected method

protected addContainerSink ( CpContentDirectory _sender, Object _tag ) : void
_sender RaumfeldNET.UPNP.CpContentDirectory
_tag Object
return void

addItem() public method

public addItem ( MediaItem _mediaItem, Int32 _itemIndexTo, System.Boolean _sync = false, System.Boolean _fromList = false ) : void
_mediaItem MediaItem
_itemIndexTo System.Int32
_sync System.Boolean
_fromList System.Boolean
return void

addItemSink() protected method

protected addItemSink ( CpContentDirectory _sender, Object _tag ) : void
_sender RaumfeldNET.UPNP.CpContentDirectory
_tag Object
return void

addItems() public method

public addItems ( List _mediaItems, Int32 _itemIndexTo ) : void
_mediaItems List
_itemIndexTo System.Int32
return void

addItems() public method

public addItems ( List _mediaItems, Int32 _itemIndexTo, System.Boolean _useThread = false ) : void
_mediaItems List
_itemIndexTo System.Int32
_useThread System.Boolean
return void

addShuffle() protected method

protected addShuffle ( MediaItem _mediaItem, Int32 _itemIndexTo, System.Boolean _sync ) : void
_mediaItem MediaItem
_itemIndexTo System.Int32
_sync System.Boolean
return void

contentDirectory_BrowseSink() protected method

protected contentDirectory_BrowseSink ( CpContentDirectory sender, System ContainerID, System Filter, System StartingIndex, System RequestedCount, System SortCriteria, System Result, System NumberReturned, System TotalMatches, System UpdateID, Object e, object _Tag ) : void
sender RaumfeldNET.UPNP.CpContentDirectory
ContainerID System
Filter System
StartingIndex System
RequestedCount System
SortCriteria System
Result System
NumberReturned System
TotalMatches System
UpdateID System
e Object
_Tag object
return void

contentDirectory_SearchSink() protected method

protected contentDirectory_SearchSink ( CpContentDirectory sender, System ContainerID, System SearchCriteria, System Filter, System StartingIndex, System RequestedCount, System SortCriteria, System Result, System NumberReturned, System TotalMatches, System UpdateID, Object e, object _Tag ) : void
sender RaumfeldNET.UPNP.CpContentDirectory
ContainerID System
SearchCriteria System
Filter System
StartingIndex System
RequestedCount System
SortCriteria System
Result System
NumberReturned System
TotalMatches System
UpdateID System
e Object
_Tag object
return void

createItemsFromMetaData() public method

public createItemsFromMetaData ( String _metaData ) : void
_metaData String
return void

createItemsFromMetaDataNode() protected method

protected createItemsFromMetaDataNode ( XmlDocument _doc, XmlNamespaceManager _manager, string _nodeId ) : void
_doc System.Xml.XmlDocument
_manager System.Xml.XmlNamespaceManager
_nodeId string
return void

createMediaItemForMetaDataNode() protected method

protected createMediaItemForMetaDataNode ( XmlNode _nodeItem, XmlNamespaceManager _manager ) : MediaItem
_nodeItem System.Xml.XmlNode
_manager System.Xml.XmlNamespaceManager
return MediaItem

createQueue() protected method

protected createQueue ( ) : System.Boolean
return System.Boolean

getListPositionOfObjectId() public method

public getListPositionOfObjectId ( String _objectId ) : int
_objectId String
return int

isItemViewable() protected method

protected isItemViewable ( MediaItem _mediaItem ) : System.Boolean
_mediaItem MediaItem
return System.Boolean

isQueue() public method

public isQueue ( ) : System.Boolean
return System.Boolean

listActionDone() protected method

protected listActionDone ( ) : void
return void

moveItem() public method

public moveItem ( Int32 _itemIndex, Int32 _itemIndexTo ) : void
_itemIndex System.Int32
_itemIndexTo System.Int32
return void

moveItemSink() protected method

protected moveItemSink ( CpContentDirectory _sender, uint _containerUpdateId, Object _tag ) : void
_sender RaumfeldNET.UPNP.CpContentDirectory
_containerUpdateId uint
_tag Object
return void

removeAllItems() protected method

protected removeAllItems ( ) : void
return void

removeItem() public method

public removeItem ( Int32 _itemIndexFrom, Int32 _itemIndexTo ) : void
_itemIndexFrom System.Int32
_itemIndexTo System.Int32
return void

retrieveListByContainerId() public method

public retrieveListByContainerId ( String _containerId, String _searchCriteria = "", System.Boolean _syncRequest = false ) : void
_containerId String
_searchCriteria String
_syncRequest System.Boolean
return void

retrieveListByMetaData() public method

public retrieveListByMetaData ( String _metaData ) : void
_metaData String
return void

retriveList() public method

public retriveList ( ) : void
return void

Property Details

containerId public_oe property

public String containerId
return String

containerInfoMetaData public_oe property

public String containerInfoMetaData
return String

contentDirectory protected_oe property

protected CpContentDirectory,RaumfeldNET.UPNP contentDirectory
return RaumfeldNET.UPNP.CpContentDirectory