android-components / mozilla.components.browser.storage.sync / PlacesBookmarksStorage / addSeparator

addSeparator

open suspend fun addSeparator(parentGuid: String, position: Int?): String (source)

Overrides BookmarksStorage.addSeparator

Adds a new bookmark separator to a given node.

Sync behavior: will add new separator to remote devices.

Parameters

parentGuid - The parent guid of the new node.

position - The optional position to add the new node or null to append.

Return The guid of the newly inserted bookmark item.