Freigeben über


IDeviceController interface (windows.media.streaming.h)

Encapsulates the methods and events needed to retrieve a list of cached Digital Media Renderers (DMRs) and/or Digital Media Servers (DMSs), or to asynchronously find the DMRs and/or DMSs that are currently on the network.

Inheritance

The IDeviceController interface inherits from IInspectable. IDeviceController also has these types of members:

Methods

The IDeviceController interface has these methods.

 
IDeviceController::add_DeviceArrival

Registers an event handler for the DeviceArrival event.
IDeviceController::add_DeviceDeparture

Registers an event handler for the DeviceDeparture event.
IDeviceController::AddDevice

Adds a DLNA DMR or DMS Device, identified by its UPnP Unique Device Name (UDN), to the list of devices that is returned by the CachedDevices method.
IDeviceController::remove_DeviceArrival

Unregisters an event handler for the DeviceArrival event.
IDeviceController::remove_DeviceDeparture

Unregisters an event handler for the DeviceDeparture event.
IDeviceController::RemoveDevice

Removes the specified device from the list of devices that is returned by the CachedDevices method.

Requirements

Requirement Value
Target Platform Windows
Header windows.media.streaming.h

See also

IInspectable