GUPnPDLNAInformation

## GUPnPDLNAInformation GUPnPDLNAInformation — Object containing metadata information returned by the GUPnPDLNADiscoverer API |

## Synopsis

                        GUPnPDLNAInformation;
    GUPnPDLNAInformation * gupnp_dlna_information_new       (gchar *name,
                                                             gchar *mime,
                                                             GstDiscovererInfo *info);
    const gchar *       gupnp_dlna_information_get_name     (GUPnPDLNAInformation *self);
    const gchar *       gupnp_dlna_information_get_mime     (GUPnPDLNAInformation *self);
    const GstDiscovererInfo * gupnp_dlna_information_get_info
                                                            (GUPnPDLNAInformation *self);

## Object Hierarchy

      GObject
       +----GUPnPDLNAInformation

## Properties

      "info"                     GstDiscovererInfo*    : Read / Write / Construct Only
      "mime"                     gchar*                : Read / Write / Construct Only
      "name"                     gchar*                : Read / Write / Construct Only

## Description

The GUPnPDLNAInformation object holds metadata information discovered by the GUPnPDiscoverer API. The DLNA profile name and MIME type have their own fields, and other metadata is held in a GstDiscovererInfo structure. All fields are read-only.

## Details

### GUPnPDLNAInformation

    typedef struct _GUPnPDLNAInformation GUPnPDLNAInformation;

### gupnp_dlna_information_new ()

    GUPnPDLNAInformation * gupnp_dlna_information_new       (gchar *name,
                                                             gchar *mime,
                                                             GstDiscovererInfo *info);

Creates a new GUPnPDLNAInformation object with the given properties.

`name` : | DLNA media profile name corresponding to the media
`mime` : | DLNA MIME type for the media
`info` : | GstDiscovererInfo type with additional metadata about the stream
Returns : | A newly created GUPnPDLNAInformation object.

### gupnp_dlna_information_get_name ()

    const gchar *       gupnp_dlna_information_get_name     (GUPnPDLNAInformation *self);

`self` : | The GUPnPDLNAInformation object
Returns : | the DLNA profile name of the stream represented by `self`. Do not free this string.

### gupnp_dlna_information_get_mime ()

    const gchar *       gupnp_dlna_information_get_mime     (GUPnPDLNAInformation *self);

`self` : | The GUPnPDLNAInformation object
Returns : | the DLNA MIME type of the stream represented by `self`. Do not free this string.

### gupnp_dlna_information_get_info ()

    const GstDiscovererInfo * gupnp_dlna_information_get_info
                                                            (GUPnPDLNAInformation *self);

## Property Details

### The `"info"` property

      "info"                     GstDiscovererInfo*    : Read / Write / Construct Only

Metadata of the stream in a GstDiscovererInfo structure.

### The `"mime"` property

      "mime"                     gchar*                : Read / Write / Construct Only

The DLNA MIME type of the stream.

Default value: NULL

### The `"name"` property

      "name"                     gchar*                : Read / Write / Construct Only

The name of the DLNA profile corresponding to the strream.

Default value: NULL