Top | ![]() |
![]() |
![]() |
![]() |
ZpjSkydriveEntry *
zpj_skydrive_video_new (JsonNode *node
);
Creates a new ZpjSkydriveVideo from the given node
. If you already
know the ID of the video then you can use
zpj_skydrive_query_info_from_id()
.
guint
zpj_skydrive_video_get_bitrate (ZpjSkydriveVideo *self
);
Gets the bit rate of self
in bits per second. This is the value of
the
bitrate member in the JSON returned by the server.
guint64
zpj_skydrive_video_get_duration (ZpjSkydriveVideo *self
);
Gets the run time duration of self
in milliseconds. This is the
value of the
duration member in the JSON returned by the server.
guint
zpj_skydrive_video_get_height (ZpjSkydriveVideo *self
);
Gets the height of self
in pixels. This is the value of the
height member in the JSON returned by the server.
guint
zpj_skydrive_video_get_width (ZpjSkydriveVideo *self
);
Gets the width of self
in pixels. This is the value of the
width member in the JSON returned by the server.
struct ZpjSkydriveVideo;
The ZpjSkydriveVideo structure contains only private data and should only be accessed using the provided API.
struct ZpjSkydriveVideoClass { ZpjSkydriveFileClass parent_class; };
Class structure for ZpjSkydriveVideo.