GUPnP DLNA Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GUPnPDLNAInformationGUPnPDLNAInformation — Base class for storing various types of metadata informations. |
GUPnPDLNAInformation; GUPnPDLNAInformationClass; GUPnPDLNAAudioInformation * gupnp_dlna_information_get_audio_information (GUPnPDLNAInformation *info
); GUPnPDLNAContainerInformation * gupnp_dlna_information_get_container_information (GUPnPDLNAInformation *info
); GUPnPDLNAImageInformation * gupnp_dlna_information_get_image_information (GUPnPDLNAInformation *info
); const gchar * gupnp_dlna_information_get_profile_name (GUPnPDLNAInformation *info
); const gchar * gupnp_dlna_information_get_uri (GUPnPDLNAInformation *info
); GUPnPDLNAVideoInformation * gupnp_dlna_information_get_video_information (GUPnPDLNAInformation *info
);
"audio-information" GUPnPDLNAAudioInformation* : Read "container-information" GUPnPDLNAContainerInformation* : Read "image-information" GUPnPDLNAImageInformation* : Read "uri" gchar* : Read / Write / Construct Only "video-information" GUPnPDLNAVideoInformation* : Read
Subclasses of GUPnPDLNAInformation should override all virtual functions provided by this class. The overrides should return a subclasses of specific information base classes.
When instantiating a subclass of GUPnPDLNAInformation make sure
that "uri" with a URI to media file is passed to g_object_new()
.
typedef struct { GObjectClass parent_class; GUPnPDLNAAudioInformation * (* get_audio_information) (GUPnPDLNAInformation *info); GUPnPDLNAContainerInformation * (* get_container_information) (GUPnPDLNAInformation *info); GUPnPDLNAImageInformation * (* get_image_information) (GUPnPDLNAInformation *info); GUPnPDLNAVideoInformation * (* get_video_information) (GUPnPDLNAInformation *info); const gchar * (* get_profile_name) (GUPnPDLNAInformation *info); gpointer _reserved[11]; } GUPnPDLNAInformationClass;
GObjectClass |
Parent class. |
This is called by GUPnPDLNAProfileGuesser to get an audio information. | |
This is called by GUPnPDLNAProfileGuesser to get a container information. | |
This is called by GUPnPDLNAProfileGuesser to get an image information. | |
This is called by GUPnPDLNAProfileGuesser to get a video information. | |
This is called by GUPnPDLNAProfileGuesser to get the name of the DLNA profile assigned with this information. | |
gpointer |
Padding. Ignore it. |
GUPnPDLNAAudioInformation * gupnp_dlna_information_get_audio_information
(GUPnPDLNAInformation *info
);
Get an audio information of media file if applicable (e.g. for video and audio files).
|
A GUPnPDLNAInformation object. |
Returns : |
A GUPnPDLNAAudioInformation object or NULL . [transfer none]
|
GUPnPDLNAContainerInformation * gupnp_dlna_information_get_container_information
(GUPnPDLNAInformation *info
);
Get an container information of media file if applicable (e.g. for video and audio files).
|
A GUPnPDLNAInformation object. |
Returns : |
A GUPnPDLNAContainerInformation object or NULL . [transfer none]
|
GUPnPDLNAImageInformation * gupnp_dlna_information_get_image_information
(GUPnPDLNAInformation *info
);
Get an container information of media file if applicable (e.g. for image files).
|
A GUPnPDLNAInformation object. |
Returns : |
A GUPnPDLNAImageInformation object or NULL . [transfer none]
|
const gchar * gupnp_dlna_information_get_profile_name
(GUPnPDLNAInformation *info
);
|
A GUPnPDLNAInformation object. |
Returns : |
The name of a DLNA profile or NULL . [transfer none]
|
const gchar * gupnp_dlna_information_get_uri (GUPnPDLNAInformation *info
);
|
A GUPnPDLNAInformation object. |
Returns : |
An URI of a file. [transfer none] |
GUPnPDLNAVideoInformation * gupnp_dlna_information_get_video_information
(GUPnPDLNAInformation *info
);
Get an container information of media file if applicable (e.g. for video files).
|
A GUPnPDLNAInformation object. |
Returns : |
A GUPnPDLNAVideoInformation object or NULL . [transfer none]
|
"audio-information"
property"audio-information" GUPnPDLNAAudioInformation* : Read
Audio information of a file.
"container-information"
property"container-information" GUPnPDLNAContainerInformation* : Read
Container information of a file.
"image-information"
property"image-information" GUPnPDLNAImageInformation* : Read
Image information of a file.
"uri"
property"uri" gchar* : Read / Write / Construct Only
URI of file which metadata this object stores.
Default value: NULL
"video-information"
property"video-information" GUPnPDLNAVideoInformation* : Read
Video information of a file.