| Zapojit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#include <zpj/zpj.h> struct ZpjSkydriveFile; struct ZpjSkydriveFileClass; goffset zpj_skydrive_file_get_size (ZpjSkydriveFile *self); ZpjSkydriveEntry * zpj_skydrive_file_new (JsonNode *node);
struct ZpjSkydriveFile;
The ZpjSkydriveFile structure contains only private data and should only be accessed using the provided API.
struct ZpjSkydriveFileClass {
ZpjSkydriveEntryClass parent_class;
};
Class structure for ZpjSkydriveFile.
ZpjSkydriveEntryClass |
The parent class. |
goffset zpj_skydrive_file_get_size (ZpjSkydriveFile *self);
Gets the size of self in bytes. This is the value of the
size member in the JSON returned by the server.
|
A ZpjSkydriveFile. |
Returns : |
The entry's size in bytes. |
ZpjSkydriveEntry * zpj_skydrive_file_new (JsonNode *node);
Creates a new ZpjSkydriveFile from the given node. If you already
know the ID of the file then you can use
zpj_skydrive_query_info_from_id().
|
A JsonNode returned by the server. |
Returns : |
A new ZpjSkydriveFile. Free the returned
object with g_object_unref(). [transfer full]
|
"size" property"size" gint64 : Read
Size of the file in bytes.
Allowed values: >= -1
Default value: -1