Bookmark

Description

Bookmark interface

flu_bookmark_info_get ()

gboolean flu_bookmark_info_get (FluBookmark *thiz, const FluBookmarkInfo **info);

Gets the information of an FluBookmark

Since: 1.0

Parameters

thiz

The bookmark to get the information from

info

The pointer to store the bookmark information

Returns

TRUE if the operation succeed, FALSE otherwise

flu_bookmark_ref ()

FluBookmark * flu_bookmark_ref (FluBookmark *thiz);

Increase the reference count of an FluBookmark

Since: 1.0

Parameters

thiz

The bookmark to increase the reference count

Returns

The same bookmark for programming convenience.

[transfer full]

flu_bookmark_unref ()

void flu_bookmark_unref (FluBookmark *thiz);

Decrease the reference count of an FluBookmark

Since: 1.0

Parameters

thiz

The bookmark to decrease the reference count

Types and Values

enum FluBookmarkType

Enum values used to describe different type of bookmarks handled by an FluPlayer.

FLU_BOOKMARK_TYPE_UNKNOWN

Unknown bookmark type

FLU_BOOKMARK_TYPE_USER

User-set bookmark (currently unused)

FLU_BOOKMARK_TYPE_MEDIA

Media-provided bookmark

FluBookmarkInfo

typedef struct { FluBookmarkType type; gchar *name; gint id; gint64 start; gint64 duration; } FluBookmarkInfo;

Bookmark information (see FluBookmark)

FluBookmark

typedef struct { } FluBookmark;

An opaque structure representing a bookmark instance.