org.teleal.cling.model.profile
Interface DeviceDetailsProvider

All Known Implementing Classes:
HeaderDeviceDetailsProvider

public interface DeviceDetailsProvider

Provides custom device details metadata based on control point profile.

Use this instead of DeviceDetails when you create a LocalDevice if dynamic metadata is required - e.g. when your control points expect different DLNA capabilities or if they are otherwise incompatible with the standard metadata of the service you provide. You can then provide custom metadata for each control point based on the detected control point information.

Don't forget to provide a default, that is, if none of your conditions match you still have to provide a minimal DeviceDetails instance for generic control points.

Author:
Mario Franco, Christian Bauer

Method Summary
 DeviceDetails provide(ControlPointInfo info)
           
 

Method Detail

provide

DeviceDetails provide(ControlPointInfo info)


Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.