Share via


object (UPnP AV) (Windows Embedded CE 6.0)

1/6/2010

This structure represents a DIDL-Lite object, as specified in detail in the ContentDirectory documentation referenced in UPnP AV DCP Documentation.

Syntax

            struct object
            {
              // constructor not shown
              bool            bContainer;
              wstring         strID;
              wstring         strParentID;
              wstring         strTitle;
              wstring         strClass;
              bool            bRestricted;
              // GetProperty declarations not shown
              // private members not shown
            };
        

Members

  • bContainer
    Contains true if the object is a container, that is, part of the DIDL-Lite object.container hierarchy. Contains false if the object is an item, that is, part of the DIDL-Lite object.item hierarchy.
  • strID
    Object identifier. Unique in the ContentDirectory service instance.
  • strParentID
    The object identifier (ID) of this object's parent. The root container has a parent ID of -1.
  • strTitle
    Name of the object.
  • strClass
    DIDL-Lite class of the object. For example, object.container, object.item.audioItem, and so on.
  • bRestricted
    Contains true if only the ContentDirectory instance can modify this object. Contains false if control points can modify this object.

Remarks

The data members of this class contain required properties of every DIDL-Lite object. To retrieve optional properties, use object::GetProperty.

The object class is defined in the av_upnp::DIDL_Lite C++ namespace and so is usually refererred to using the code av_upnp::DIDL_Lite::object, or using the av alias, as av::DIDL_Lite::object.

For more information about the DIDL-Lite schema defined by the UPnP AV DCP, see the ContentDirectory documentation referenced in UPnP AV DCP Documentation.

Requirements

Header av_upnp.h
Library Av_upnp.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

UPnP AV Structures
wstring class (UPnP AV)