BookmarkFile.getIsPrivate

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.

class BookmarkFile
bool
getIsPrivate
(
string uri
)

Parameters

uri string

a valid URI

Return Value

Type: bool

true if the private flag is set, false otherwise.