Partager via


IDeviceController interface

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.

Members

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

  • Methods

Methods

The IDeviceController interface 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.

 

See also

IInspectable