LibSharing Manual | ||||
---|---|---|---|---|
SharingEntrySharingEntry — Sharing entry object used to abstract all entries that can be made and used with Sharing. |
SharingAccount* sharing_entry_get_account (const SharingEntry *self); const gchar* sharing_entry_get_option (SharingEntry *self, const gchar *id); GSList* sharing_entry_get_media (SharingEntry *self); guint64 sharing_entry_get_size (const SharingEntry *self);
SharingEntry is abstraction of sharing entry. It holds methods to get and modify metadata of entry, methods to serialized entries to memory and ...
SharingAccount* sharing_entry_get_account (const SharingEntry *self);
Get SharingAccount marked as target of entry.
self : |
Pointer to SharingService object |
see_also : |
sharing_entry_get_account_id()
|
Returns : | Pointer SharingAccount, free with sharing_account_free() .
NULL if account not found.
|
const gchar* sharing_entry_get_option (SharingEntry *self, const gchar *id);
Get option value with id
self : |
Pointer to SharingEntry object |
id : |
ID of option |
Returns : | Value of option or NULL if option not defined
|
GSList* sharing_entry_get_media (SharingEntry *self);
Get all media objects of entry
self : |
Pointer to SharingEntry object |
Returns : | GSList of pointer to SharingEntryMedia objects. Both list and
objects are owned by SharingEntry object. Do not free either list or
objects. And do not edit list at all. Both are valid as far as medias isn't
added or removed in SharingEntry. NULL is returned as empty list or if
data can't be resolved.
|