android-components / / PlacesBookmarksStorage / addFolder


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

Overrides BookmarksStorage.addFolder

Adds a new bookmark folder to a given node.

Sync behavior: will add new separator to remote devices.


parentGuid - The parent guid of the new node.

title - The title of the bookmark folder to add.

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

Return The guid of the newly inserted bookmark item.