| Top |
GUPnPDLNAInformationGUPnPDLNAInformation — Base class for storing various types of metadata informations. |
| GUPnPDLNAAudioInformation * | audio-information | Read |
| GUPnPDLNAContainerInformation * | container-information | Read |
| GUPnPDLNAImageInformation * | image-information | Read |
| gchar * | uri | Read / Write / Construct Only |
| GUPnPDLNAVideoInformation * | video-information | 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().
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).
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).
GUPnPDLNAImageInformation *
gupnp_dlna_information_get_image_information
(GUPnPDLNAInformation *info);
Get an container information of media file if applicable (e.g. for image files).
GUPnPDLNAVideoInformation *
gupnp_dlna_information_get_video_information
(GUPnPDLNAInformation *info);
Get an container information of media file if applicable (e.g. for video files).
const gchar *
gupnp_dlna_information_get_profile_name
(GUPnPDLNAInformation *info);
const gchar *
gupnp_dlna_information_get_uri (GUPnPDLNAInformation *info);
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. |
“audio-information” property“audio-information” GUPnPDLNAAudioInformation *
Audio information of a file.
Flags: Read
“container-information” property“container-information” GUPnPDLNAContainerInformation *
Container information of a file.
Flags: Read
“image-information” property“image-information” GUPnPDLNAImageInformation *
Image information of a file.
Flags: Read
“uri” property“uri” gchar *
URI of file which metadata this object stores.
Flags: Read / Write / Construct Only
Default value: NULL
“video-information” property“video-information” GUPnPDLNAVideoInformation *
Video information of a file.
Flags: Read