GUPnPAV.DIDLLiteWriter.add_descriptor

### Method

# GUPnPAV DIDLLiteWriteradd_descriptor

#### Declaration [src]

    GUPnPDIDLLiteDescriptor*
    gupnp_didl_lite_writer_add_descriptor (
      GUPnPDIDLLiteWriter* writer
    )

#### Description [src]

Creates a new descriptor, attaches it to `object` and returns it.

#### Return value

Type: `GUPnPDIDLLiteDescriptor`

A new `GUPnPDIDLLiteDescriptor` object. Unref after usage.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.