| GUPnP DLNA Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
GUPnPDLNAInformationGUPnPDLNAInformation — Object containing metadata information returned by the GUPNPDLNADiscoverer API |
GUPnPDLNAInformation; GUPnPDLNAInformation * gupnp_dlna_information_new (gchar *name,gchar *mime,GstDiscovererInformation *info); const gchar * gupnp_dlna_information_get_name (GUPnPDLNAInformation *self); const gchar * gupnp_dlna_information_get_mime (GUPnPDLNAInformation *self); const GstDiscovererInformation * gupnp_dlna_information_get_info (GUPnPDLNAInformation *self);
"info" GstDiscovererInformation* : Read / Write / Construct Only "mime" gchar* : Read / Write / Construct Only "name" gchar* : Read / Write / Construct Only
The GUPnPDLNAInformation object holds metadata information discovered by the GUPnPDiscoverer API. The DLNA profile name and MIME type have their own fields, and other metadata is held in a GstDiscovererInformation structure. All fields are read-only.
GUPnPDLNAInformation * gupnp_dlna_information_new (gchar *name,gchar *mime,GstDiscovererInformation *info);
Creates a new GUPnPDLNAInformation object with the given properties.
|
DLNA media profile name corresponding to the media |
|
DLNA MIME type for the media |
|
GstDiscovererInformation type with additional metadata about the stream |
Returns : |
A newly created GUPnPDLNAInformation object. |
const gchar * gupnp_dlna_information_get_name (GUPnPDLNAInformation *self);
|
The GUPnPDLNAInformation object |
Returns : |
the DLNA profile name of the stream represented by self. Do not
free this string.
|
const gchar * gupnp_dlna_information_get_mime (GUPnPDLNAInformation *self);
|
The GUPnPDLNAInformation object |
Returns : |
the DLNA MIME type of the stream represented by self. Do not
free this string.
|
const GstDiscovererInformation * gupnp_dlna_information_get_info
(GUPnPDLNAInformation *self);
|
The GUPnPDLNAInformation object |
Returns : |
additional stream metadata for self in the form of a
GstDiscovererInformation structure. Do not free this structure.
|
"info" property "info" GstDiscovererInformation* : Read / Write / Construct Only
Metadata of the stream in a GstDiscovererInformation structure.
"mime" property"mime" gchar* : Read / Write / Construct Only
The DLNA MIME type of the stream.
Default value: NULL
"name" property"name" gchar* : Read / Write / Construct Only
The name of the DLNA profile corresponding to the strream.
Default value: NULL