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);

Object Hierarchy

  GObject
   +----GUPnPDLNAProfile

Properties

  "extended"                 gboolean              : Read / Write / Construct Only
  "mime"                     gchar*                : Read / Write / Construct Only
  "name"                     gchar*                : 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.

Property Details

The "extended" property

  "extended"                 gboolean              : Read / Write / Construct Only

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

Default value: FALSE


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