GUPnPDLNAProfile

GUPnPDLNAProfile — Object representing a DLNA profile

Functions

Types and Values

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.

Functions

gupnp_dlna_profile_get_name ()

const gchar *
gupnp_dlna_profile_get_name (GUPnPDLNAProfile *profile);

Parameters

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

Parameters

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

Parameters

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.

Parameters

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.

Parameters

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.

Parameters

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.

Parameters

profile

A profile.

[transfer none]

Returns

Video restrictions. Do not modify.

[transfer none][element-type GUPnPDLNARestriction]

Types and Values

struct GUPnPDLNAProfileClass

struct GUPnPDLNAProfileClass {
        GObjectClass parent_class;
};

Members