moveItem

fun moveItem(oldUri: String, newUri: String? = null): <Error class: unknown class><Boolean>

Changes the URI of a bookmark item from @old_uri to @new_uri. Any existing bookmark for @new_uri will be overwritten. If @new_uri is null, then the bookmark is removed.

In the event the URI cannot be found, false is returned and

Return

true if the URI was successfully changed

Since

2.12

Parameters

oldUri

a valid URI

newUri

a valid URI, or null