![]() |
![]() |
![]() |
GData Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <gdata/media/gdata-media-thumbnail.h> GDataMediaThumbnail; GDataMediaThumbnailClass; const gchar * gdata_media_thumbnail_get_uri (GDataMediaThumbnail *self); guint gdata_media_thumbnail_get_height (GDataMediaThumbnail *self); guint gdata_media_thumbnail_get_width (GDataMediaThumbnail *self); gint64 gdata_media_thumbnail_get_time (GDataMediaThumbnail *self);
GDataMediaThumbnail represents a "thumbnail" element from the Media RSS specification.
The class only implements parsing, not XML output, at the moment.
typedef struct _GDataMediaThumbnail GDataMediaThumbnail;
All the fields in the GDataMediaThumbnail structure are private and should never be accessed directly.
typedef struct { } GDataMediaThumbnailClass;
All the fields in the GDataMediaThumbnailClass structure are private and should never be accessed directly.
Since 0.4.0
const gchar * gdata_media_thumbnail_get_uri (GDataMediaThumbnail *self);
Gets the "uri" property.
|
a GDataMediaThumbnail |
Returns : |
the thumbnail's URI |
Since 0.4.0
guint gdata_media_thumbnail_get_height (GDataMediaThumbnail *self);
Gets the "height" property.
|
a GDataMediaThumbnail |
Returns : |
the thumbnail's height in pixels, or 0
|
Since 0.4.0
guint gdata_media_thumbnail_get_width (GDataMediaThumbnail *self);
Gets the "width" property.
|
a GDataMediaThumbnail |
Returns : |
the thumbnail's width in pixels, or 0
|
Since 0.4.0
"height"
property"height" guint : Read
The height of the thumbnail, in pixels.
For more information, see the Media RSS specification.
Default value: 0
Since 0.4.0
"time"
property"time" gint64 : Read
The time offset of the thumbnail in relation to the media object, in milliseconds.
For more information, see the Media RSS specification.
Allowed values: >= -1
Default value: -1
Since 0.4.0
"uri"
property"uri" gchar* : Read
The URI of the thumbnail.
For more information, see the Media RSS specification.
Default value: NULL
Since 0.4.0
"width"
property"width" guint : Read
The width of the thumbnail, in pixels.
For more information, see the Media RSS specification.
Default value: 0
Since 0.4.0