C# Class cloudmusic2upnp.DeviceController.UPnP.UPnPDevice

Inheritance: IDevice
Mostrar archivo Open project: TilmannBach/cloudmusic2upnp Class Usage Examples

Public Methods

Method Description
Free ( ) : void
GetXmlDeviceDescription ( ) : XmlDocument
Mute ( ) : void
Pause ( ) : void
Play ( ) : void
SetMediaUrl ( Uri url ) : void
Stop ( ) : void
UPnPDevice ( OpenHome device, XmlDocument xmlDeviceDescr ) : System
Unmute ( ) : void

Protected Methods

Method Description
OnMuteChanged ( DeviceMuteEventArgs muteState ) : void
OnPlaystateChanged ( UPnPDevice device, DevicePlaystateEventArgs playstate, int timeOffset ) : void
OnVolumeChanged ( int volume ) : void

Private Methods

Method Description
BeginGetPositionInfoComplete ( IntPtr asyncHandle ) : void
BeginMuteComplete ( IntPtr asyncHandle ) : void
BeginPauseComplete ( IntPtr asyncHandle ) : void
BeginPlayComplete ( IntPtr asyncHandle ) : void
BeginSetMediaUrlComplete ( IntPtr asyncHandle ) : void
BeginStopComplete ( IntPtr asyncHandle ) : void
GetPositionInfo ( ) : void
LogError ( OpenHome err ) : void
OnRenderingControlPropertyChanged ( ) : void
OnTransportPropertyChanged ( ) : void
SubscribeToDeviceEvents ( ) : void

Method Details

Free() public method

public Free ( ) : void
return void

GetXmlDeviceDescription() public method

public GetXmlDeviceDescription ( ) : XmlDocument
return System.Xml.XmlDocument

Mute() public method

public Mute ( ) : void
return void

OnMuteChanged() protected method

protected OnMuteChanged ( DeviceMuteEventArgs muteState ) : void
muteState DeviceMuteEventArgs
return void

OnPlaystateChanged() protected method

protected OnPlaystateChanged ( UPnPDevice device, DevicePlaystateEventArgs playstate, int timeOffset ) : void
device UPnPDevice
playstate DevicePlaystateEventArgs
timeOffset int
return void

OnVolumeChanged() protected method

protected OnVolumeChanged ( int volume ) : void
volume int
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

SetMediaUrl() public method

public SetMediaUrl ( Uri url ) : void
url System.Uri
return void

Stop() public method

public Stop ( ) : void
return void

UPnPDevice() public method

public UPnPDevice ( OpenHome device, XmlDocument xmlDeviceDescr ) : System
device OpenHome
xmlDeviceDescr System.Xml.XmlDocument
return System

Unmute() public method

public Unmute ( ) : void
return void