BookmarkFile.getIsPrivate

bool getIsPrivate(string uri)

Gets whether the private flag of the bookmark for uri is set.

In the event the URI cannot be found, false is returned and error is set to G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. In the event that the private flag cannot be found, false is returned and error is set to G_BOOKMARK_FILE_ERROR_INVALID_VALUE.

Parameters

uria valid URI

Returns

true if the private flag is set, false otherwise.

Throws

[BookmarkFileException]