|  |  |  | GData Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#include <gdata/media/gdata-media-category.h>
                    GDataMediaCategory;
                    GDataMediaCategoryClass;
GDataMediaCategory * gdata_media_category_new           (const gchar *category,
                                                         const gchar *scheme,
                                                         const gchar *label);
const gchar *       gdata_media_category_get_category   (GDataMediaCategory *self);
void                gdata_media_category_set_category   (GDataMediaCategory *self,
                                                         const gchar *category);
const gchar *       gdata_media_category_get_scheme     (GDataMediaCategory *self);
void                gdata_media_category_set_scheme     (GDataMediaCategory *self,
                                                         const gchar *scheme);
const gchar *       gdata_media_category_get_label      (GDataMediaCategory *self);
void                gdata_media_category_set_label      (GDataMediaCategory *self,
                                                         const gchar *label);
"category" gchar* : Read / Write "label" gchar* : Read / Write "scheme" gchar* : Read / Write
typedef struct _GDataMediaCategory GDataMediaCategory;
All the fields in the GDataMediaCategory structure are private and should never be accessed directly.
typedef struct {
} GDataMediaCategoryClass;
All the fields in the GDataMediaCategoryClass structure are private and should never be accessed directly.
Since 0.4.0
GDataMediaCategory * gdata_media_category_new (const gchar *category,const gchar *scheme,const gchar *label);
Creates a new GDataMediaCategory. More information is available in the Media RSS specification.
| 
 | a category describing the content | 
| 
 | a URI identifying the categorisation scheme, or NULL | 
| 
 | a human-readable name for the category, or NULL | 
| Returns : | a new GDataMediaCategory, or NULL; unref withg_object_unref() | 
const gchar *       gdata_media_category_get_category   (GDataMediaCategory *self);
Gets the "category" property.
| 
 | a GDataMediaCategory | 
| Returns : | the actual category | 
Since 0.4.0
void gdata_media_category_set_category (GDataMediaCategory *self,const gchar *category);
Sets the "category" property to category.
| 
 | a GDataMediaCategory | 
| 
 | the new category | 
Since 0.4.0
const gchar *       gdata_media_category_get_scheme     (GDataMediaCategory *self);
Gets the "scheme" property.
| 
 | a GDataMediaCategory | 
| Returns : | the category's scheme, or NULL | 
Since 0.4.0
void gdata_media_category_set_scheme (GDataMediaCategory *self,const gchar *scheme);
Sets the "scheme" property to scheme.
Set scheme to NULL to unset the property.
| 
 | a GDataMediaCategory | 
| 
 | the category's new scheme, or NULL | 
Since 0.4.0
const gchar *       gdata_media_category_get_label      (GDataMediaCategory *self);
Gets the "label" property.
| 
 | a GDataMediaCategory | 
| Returns : | the category's label, or NULL | 
Since 0.4.0
void gdata_media_category_set_label (GDataMediaCategory *self,const gchar *label);
Sets the "label" property to label.
Set label to NULL to unset the property.
| 
 | a GDataMediaCategory | 
| 
 | the category's new label, or NULL | 
Since 0.4.0
"category" property"category" gchar* : Read / Write
The category name.
For more information, see the Media RSS specification.
Default value: NULL
Since 0.4.0
"label" property"label" gchar* : Read / Write
A human-readable label that can be displayed in end-user applications.
For more information, see the Media RSS specification.
Default value: NULL
Since 0.4.0
"scheme" property"scheme" gchar* : Read / Write
A URI that identifies the categorization scheme.
For more information, see the Media RSS specification.
Default value: NULL
Since 0.4.0