BookmarkFile.getGroups

string[] getGroups(string uri)

Retrieves the list of group names of the bookmark for uri.

In the event the URI cannot be found, null is returned and error is set to G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.

The returned array is null terminated, so length may optionally be null.

Parameters

uria valid URI

Returns

a newly allocated null-terminated array of group names.

Use [glib.global.strfreev] to free it.

Throws

[BookmarkFileException]