GUPnPDLNAProfile

## GUPnPDLNAProfile GUPnPDLNAProfile — Object representing a DLNA profile |

## Synopsis

                        GUPnPDLNAProfile;
                        GUPnPDLNAProfileClass;
    const gchar *       gupnp_dlna_profile_get_name         (GUPnPDLNAProfile *profile);
    const gchar *       gupnp_dlna_profile_get_mime         (GUPnPDLNAProfile *profile);
    gboolean            gupnp_dlna_profile_get_extended     (GUPnPDLNAProfile *profile);
    GList *             gupnp_dlna_profile_get_container_restrictions
                                                            (GUPnPDLNAProfile *profile);
    GList *             gupnp_dlna_profile_get_audio_restrictions
                                                            (GUPnPDLNAProfile *profile);
    GList *             gupnp_dlna_profile_get_image_restrictions
                                                            (GUPnPDLNAProfile *profile);
    GList *             gupnp_dlna_profile_get_video_restrictions
                                                            (GUPnPDLNAProfile *profile);

## Object Hierarchy

      GObject
       +----GUPnPDLNAProfile

## Properties

      "audio-restrictions"       gpointer              : Read / Write / Construct Only
      "container-restrictions"   gpointer              : Read / Write / Construct Only
      "extended"                 gboolean              : Read / Write / Construct Only
      "image-restrictions"       gpointer              : Read / Write / Construct Only
      "mime"                     gchar*                : Read / Write / Construct Only
      "name"                     gchar*                : Read / Write / Construct Only
      "video-restrictions"       gpointer              : Read / Write / Construct Only

## Description

The GUPnPDLNAProfileGuesser object provides a few APIs that return GUPnPDLNAProfile objects. These represent a single DLNA profile. Each GUPnPDLNAProfile has a name (the name of the DLNA profile) and the corresponding MIME type.

Public representation of the various audio/container/image/video restrictions specified for that DLNA profile is to be added.

## Details

### GUPnPDLNAProfile

    typedef struct _GUPnPDLNAProfile GUPnPDLNAProfile;

The top-level object used for the in-memory representation of the DLNA Profiles.

### GUPnPDLNAProfileClass

    typedef struct {
            GObjectClass parent_class;
    } GUPnPDLNAProfileClass;

GObjectClass `parent_class`; | A GObjectClass - parent of this class.

### gupnp_dlna_profile_get_name ()

    const gchar *       gupnp_dlna_profile_get_name         (GUPnPDLNAProfile *profile);

`profile` : | The GUPnPDLNAProfile object.
Returns : | The name of the DLNA profile represented by `profile`.

### gupnp_dlna_profile_get_mime ()

    const gchar *       gupnp_dlna_profile_get_mime         (GUPnPDLNAProfile *profile);

`profile` : | The GUPnPDLNAProfile object.
Returns : | The DLNA MIME type of the DLNA profile represented by `profile`.

### gupnp_dlna_profile_get_extended ()

    gboolean            gupnp_dlna_profile_get_extended     (GUPnPDLNAProfile *profile);

`profile` : | The GUPnPDLNAProfile object.
Returns : | `TRUE` if `profile` is extended one and `FALSE` otherwise.

### gupnp_dlna_profile_get_container_restrictions ()

    GList *             gupnp_dlna_profile_get_container_restrictions
                                                            (GUPnPDLNAProfile *profile);

Gets a list of container restrictions.

`profile` : | A profile. [transfer none]
Returns : | Container restrictions. Do not modify. [transfer none][element-type GUPnPDLNARestriction]

### gupnp_dlna_profile_get_audio_restrictions ()

    GList *             gupnp_dlna_profile_get_audio_restrictions
                                                            (GUPnPDLNAProfile *profile);

Gets a list of audio restrictions.

`profile` : | A profile. [transfer none]
Returns : | Audio restrictions. Do not modify. [transfer none][element-type GUPnPDLNARestriction]

### gupnp_dlna_profile_get_image_restrictions ()

    GList *             gupnp_dlna_profile_get_image_restrictions
                                                            (GUPnPDLNAProfile *profile);

Gets a list of image restrictions.

`profile` : | A profile. [transfer none]
Returns : | Image restrictions. Do not modify. [transfer none][element-type GUPnPDLNARestriction]

### gupnp_dlna_profile_get_video_restrictions ()

    GList *             gupnp_dlna_profile_get_video_restrictions
                                                            (GUPnPDLNAProfile *profile);

Gets a list of video restrictions.

`profile` : | A profile. [transfer none]
Returns : | Video restrictions. Do not modify. [transfer none][element-type GUPnPDLNARestriction]

## Property Details

### The `"audio-restrictions"` property

      "audio-restrictions"       gpointer              : Read / Write / Construct Only

Audio restrictions for the DLNA Profile.

### The `"container-restrictions"` property

      "container-restrictions"   gpointer              : Read / Write / Construct Only

Container restrictions for the DLNA Profile.

### The `"extended"` property

      "extended"                 gboolean              : Read / Write / Construct Only

Whether the DLNA profile is not a part of DLNA specification.

Default value: FALSE

### The `"image-restrictions"` property

      "image-restrictions"       gpointer              : Read / Write / Construct Only

Image restrictions for the DLNA Profile.

### The `"mime"` property

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

MIME type of the DLNA profile.

Default value: NULL

### The `"name"` property

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

Name of the DLNA profile.

Default value: NULL

### The `"video-restrictions"` property

      "video-restrictions"       gpointer              : Read / Write / Construct Only

Video restrictions for the DLNA Profile.