SharingTag

SharingTag — Tag element of SharingEntryMedia.

Synopsis

enum                SharingTagType;
SharingTagType      sharing_tag_get_type                (const SharingTag *self);
const gchar*        sharing_tag_get_word                (const SharingTag *self);

Description

SharingTag can be used to check the information and type of tags specified inside SharingEntryMedia.

Details

enum SharingTagType

typedef enum {
    SHARING_TAG_SHARE = 0,
    SHARING_TAG_GEO_COUNTRY = 1 << 0,
    SHARING_TAG_GEO_CITY = 1 << 1,
    SHARING_TAG_GEO_SUBURB = 1 << 2,
    SHARING_TAG_FAVOURITE = 1 << 3,
    SHARING_TAG_GPS_LATITUDE = 1 << 4,
    SHARING_TAG_GPS_LONGITUDE = 1 << 5,
    SHARING_TAG_GPS_ALTITUDE = 1 << 6,
    SHARING_TAG_CREATOR = 1 << 7,
    SHARING_TAG_UNKNOWN = ~0,
} SharingTagType;

sharing_tag_get_type ()

SharingTagType      sharing_tag_get_type                (const SharingTag *self);

Get the type of a SharingTag.

self : a SharingTag
Returns : the type of the tag

sharing_tag_get_word ()

const gchar*        sharing_tag_get_word                (const SharingTag *self);

Get the value of a SharingTag.

self : a SharingTag
Returns : the value of a SharingTag, which is never NULL