RygelVideoItem

RygelVideoItem — Represents a video item.

Synopsis

#define             RYGEL_TYPE_VIDEO_ITEM
#define             RYGEL_VIDEO_ITEM_UPNP_CLASS
RygelVideoItem *    rygel_video_item_new                (const gchar *id,
                                                         RygelMediaContainer *parent,
                                                         const gchar *title,
                                                         const gchar *upnp_class);
const gchar *       rygel_video_item_get_author         (RygelVideoItem *self);
void                rygel_video_item_set_author         (RygelVideoItem *self,
                                                         const gchar *value);
struct              RygelVideoItem;
struct              RygelVideoItemClass;

Object Hierarchy

  GObject
   +----RygelMediaObject
         +----RygelMediaItem
               +----RygelAudioItem
                     +----RygelVideoItem

Implemented Interfaces

RygelVideoItem implements RygelVisualItem.

Properties

  "author"                   gchar*                : Read / Write
  "color-depth"              gint                  : Read / Write
  "height"                   gint                  : Read / Write
  "thumbnails"               GeeArrayList*         : Read / Write
  "width"                    gint                  : Read / Write

Description

Details

RYGEL_TYPE_VIDEO_ITEM

#define RYGEL_TYPE_VIDEO_ITEM (rygel_video_item_get_type ())

The type for RygelVideoItem.


RYGEL_VIDEO_ITEM_UPNP_CLASS

#define RYGEL_VIDEO_ITEM_UPNP_CLASS "object.item.videoItem"

rygel_video_item_new ()

RygelVideoItem *    rygel_video_item_new                (const gchar *id,
                                                         RygelMediaContainer *parent,
                                                         const gchar *title,
                                                         const gchar *upnp_class);

rygel_video_item_get_author ()

const gchar *       rygel_video_item_get_author         (RygelVideoItem *self);

Get and return the current value of the "author" property.

self :

the RygelVideoItem instance to query

Returns :

the value of the "author" property

rygel_video_item_set_author ()

void                rygel_video_item_set_author         (RygelVideoItem *self,
                                                         const gchar *value);

Set the value of the "author" property to value.

self :

the RygelVideoItem instance to modify

value :

the new value of the "author" property

struct RygelVideoItem

struct RygelVideoItem;

Represents a video item.


struct RygelVideoItemClass

struct RygelVideoItemClass {
	RygelAudioItemClass parent_class;
};

The class structure for RYGEL_TYPE_VIDEO_ITEM. All the fields in this structure are private and should never be accessed directly.

RygelAudioItemClass parent_class;

the parent class structure

Property Details

The "author" property

  "author"                   gchar*                : Read / Write

author.

Default value: NULL


The "color-depth" property

  "color-depth"              gint                  : Read / Write

color-depth.

Default value: -1


The "height" property

  "height"                   gint                  : Read / Write

height.

Default value: -1


The "thumbnails" property

  "thumbnails"               GeeArrayList*         : Read / Write

thumbnails.


The "width" property

  "width"                    gint                  : Read / Write

width.

Default value: -1