C# Class cloudmusic2upnp.DeviceController.UPnP.UPnPDevice

Inheritance: IDevice
Afficher le fichier Open project: TilmannBach/cloudmusic2upnp Class Usage Examples

Méthodes publiques

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

Méthodes protégées

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

Private Methods

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

public Free ( ) : void
Résultat void

GetXmlDeviceDescription() public méthode

public GetXmlDeviceDescription ( ) : XmlDocument
Résultat System.Xml.XmlDocument

Mute() public méthode

public Mute ( ) : void
Résultat void

OnMuteChanged() protected méthode

protected OnMuteChanged ( DeviceMuteEventArgs muteState ) : void
muteState DeviceMuteEventArgs
Résultat void

OnPlaystateChanged() protected méthode

protected OnPlaystateChanged ( UPnPDevice device, DevicePlaystateEventArgs playstate, int timeOffset ) : void
device UPnPDevice
playstate DevicePlaystateEventArgs
timeOffset int
Résultat void

OnVolumeChanged() protected méthode

protected OnVolumeChanged ( int volume ) : void
volume int
Résultat void

Pause() public méthode

public Pause ( ) : void
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

SetMediaUrl() public méthode

public SetMediaUrl ( Uri url ) : void
url System.Uri
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

UPnPDevice() public méthode

public UPnPDevice ( OpenHome device, XmlDocument xmlDeviceDescr ) : System
device OpenHome
xmlDeviceDescr System.Xml.XmlDocument
Résultat System

Unmute() public méthode

public Unmute ( ) : void
Résultat void