GLib.BookmarkFile.prototype.get_added

function get_added(uri: String): Number(glong) {
    // Gjs wrapper for g_bookmark_file_get_added()
}
  

Gets the time the bookmark for uri was added to bookmark

In the event the URI cannot be found, -1 is returned and @error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.

Since 2.12

uri

a valid URI

Returns

a timestamp