android-components / mozilla.components.concept.storage / BookmarkNode

BookmarkNode

data class BookmarkNode (source)

Class for holding metadata about any bookmark node

Constructors

Name Summary
<init> BookmarkNode(type: BookmarkNodeType, guid: String, parentGuid: String?, position: Int?, title: String?, url: String?, children: List<BookmarkNode>?)
Class for holding metadata about any bookmark node

Properties

Name Summary
children val children: List<BookmarkNode>?
guid val guid: String
parentGuid val parentGuid: String?
position val position: Int?
title val title: String?
type val type: BookmarkNodeType
url val url: String?

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.