Compartir a través de


DeviceController class

Implements the IDeviceController interface that retrieves 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.

DeviceController has these types of members:

  • Methods

Methods

The DeviceController class has these methods.

Method Description
add_DeviceArrival

Registers an event handler for the DeviceArrival event.

add_DeviceDeparture

Registers an event handler for the DeviceDeparture event.

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.

CachedDevices

Retrieves a collection of IBasicDevice interface pointers that represents the cached view of all discoverable DLNA devices.

remove_DeviceArrival

Unregisters an event handler for the DeviceArrival event.

remove_DeviceDeparture

Unregisters an event handler for the DeviceDeparture event.

RemoveDevice

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