MediaRenderer class
Implements the IMediaRenderer interface that represents a DLNA Digital Media Renderer (DMR) device.
MediaRenderer has these types of members:
Methods
The MediaRenderer class has these methods.
| Method | Description |
|---|---|
| add_RenderingParametersUpdate |
Registers an event handler for the RenderingParametersUpdate event. |
| add_TransportParametersUpdate |
Registers an event handler for the TransportParametersUpdate event. |
| GetMuteAsync |
Queries the DMR asynchronously to determine if audio is currently muted or unmuted. |
| GetPositionInformationAsync |
Queries the DMR asynchronously to retrieve position information. |
| GetTransportInformationAsync |
Queries the DMR asynchronously to retrieve transport information. |
| GetVolumeAsync |
Queries the DMR asynchronously for its current audio volume level. |
| PauseAsync |
Instructs the DMR asynchronously to pause playing the current content. |
| PlayAsync |
Instructs the DMR asynchronously to play the content that was specified by calling the SetSourceFromUriAsync, SetSourceFromStreamAsync, or SetSourceFromMediaSourceAsync method. |
| PlayAtSpeedAsync |
Instructs the DMR asynchronously to play the content that was specified by calling the SetSourceFromUriAsync, SetSourceFromStreamAsync, or SetSourceFromMediaSourceAsync method at the specified rate. |
| remove_RenderingParametersUpdate |
Unregisters an event handler for the RenderingParametersUpdate event. |
| remove_TransportParametersUpdate |
Unregisters an event handler for the TransportParametersUpdate event. |
| SeekAsync |
Instructs the DMR asynchronously to seek to a particular time offset. |
| SetMuteAsync |
Instructs the DMR asynchronously to either mute or unmute the audio. |
| SetNextSourceFromMediaSourceAsync |
Instructs the DMR asynchronously to prepare the specified content for playing once the current content has finished playing. |
| SetNextSourceFromStreamAsync |
Instructs the DMR asynchronously to prepare the specified media stream for playing once the current content has finished playing. |
| SetNextSourceFromUriAsync |
Instructs the DMR asynchronously to prepare the content identified by the specified URI for playing once the current content has finished playing. |
| SetSourceFromMediaSourceAsync |
Instructs the DMR asynchronously to prepare the specified content for playing. |
| SetSourceFromStreamAsync |
Instructs the DMR asynchronously to prepare the specified media stream for playing once the current content has finished playing. |
| SetSourceFromUriAsync |
Instructs the DMR asynchronously to prepare the content identified by the specified URI for playing. |
| SetVolumeAsync |
Sets the audio volume level on the DMR asynchronously to the specified value. |
| StopAsync |
Instructs the DMR asynchronously to stop playing the current content. |
Properties
The MediaRenderer class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
Gets information about which methods can currently be invoked on the DMR. | |
| Read-only |
Gets a value that indicates whether the DMR is capable of playing audio content. | |
| Read-only |
Gets a value that indicates whether the DMR is capable of displaying images. | |
| Read-only |
Gets a value that indicates whether the DMR is capable of playing video content. |