get_visited


Description:

[ Version ( deprecated_since = "2.66" , replacement = "get_visited_date_time" ) ]
public time_t get_visited (string uri) throws BookmarkFileError

Warning: get_visited is deprecated since 2.66. Use get_visited_date_time.

Gets the time the bookmark for uri was last visited.

Note:

Use get_visited_date_time instead, as `time_t` is deprecated due to the year 2038 problem.

In the event the URI cannot be found, -1 is returned and throws is set to g_bookmark_file_error_uri_not_found.

Parameters:

this

a BookmarkFile

uri

a valid URI

Returns:

a timestamp.