GUPnPDIDLLiteItem

GUPnPDIDLLiteItem — DIDL-Lite Item

Object Hierarchy

  GObject
   +----GUPnPDIDLLiteObject
         +----GUPnPDIDLLiteItem

Properties

  "lifetime"                 glong                 : Read / Write
  "ref-id"                   gchar*                : Read / Write

Description

GUPnPDIDLLiteItem respresents a DIDL-Lite item element.

Details

GUPnPDIDLLiteItem

typedef struct _GUPnPDIDLLiteItem GUPnPDIDLLiteItem;

gupnp_didl_lite_item_get_ref_id ()

const char *        gupnp_didl_lite_item_get_ref_id     (GUPnPDIDLLiteItem *item);

Get the ref ID of the item.

item :

GUPnPDIDLLiteItem

Returns :

The ref ID of the item, or NULL.

gupnp_didl_lite_item_set_ref_id ()

void                gupnp_didl_lite_item_set_ref_id     (GUPnPDIDLLiteItem *item,
                                                         const char *ref_id);

Set the ref ID of the item.

item :

GUPnPDIDLLiteItem

ref_id :

The ref ID

gupnp_didl_lite_item_get_lifetime ()

glong               gupnp_didl_lite_item_get_lifetime   (GUPnPDIDLLiteItem *item);

item :

GUPnPDIDLLiteItem

Returns :

-1 if unset or the lifetime (in seconds) of the current item.

gupnp_didl_lite_item_set_lifetime ()

void                gupnp_didl_lite_item_set_lifetime   (GUPnPDIDLLiteItem *item,
                                                         glong lifetime);

item :

GUPnPDIDLLiteItem

lifetime :

The lifetime (in seconds) of this item in a media collection.

Property Details

The "lifetime" property

  "lifetime"                 glong                 : Read / Write

The lifetime in seconds of this DIDLLite item in a media collection.

Allowed values: >= -1

Default value: -1


The "ref-id" property

  "ref-id"                   gchar*                : Read / Write

The ref ID of this item.

Default value: NULL