com.oscleton.sdk.browser.models / BrowserItem
BrowserItem
data class BrowserItem
Data class representing an item in the Live browser.
Types
Name | Summary |
---|---|
Category | enum class Category |
Constructors
Name | Summary |
---|---|
<init> | BrowserItem(name: String , uri: String , source: String , isDevice: Boolean , isFolder: Boolean , isLoadable: Boolean , hasChildren: Boolean ) |
Properties
Name | Summary |
---|---|
category | val category: Category |
categoryCodeName | val categoryCodeName: String |
hasChildren | val hasChildren: Boolean Indicates if the browser item has children |
isDevice | val isDevice: Boolean Indicates if the browser item represents a device |
isFolder | val isFolder: Boolean Indicates if the browser item represents a folder |
isLoadable | val isLoadable: Boolean Indicates if the browser item can be loaded |
name | val name: String The device name displayed in the Live browser |
nodes | val nodes: List < String > |
parentNodes | val parentNodes: List < String > |
source | val source: String Specifies where does the item come from |
uri | val uri: String The device unique identifier |
Extension Properties
Name | Summary |
---|---|
boolean | val Any .boolean: Boolean Extension property to cast an Any to Boolean. |
float | val Any .float: Float Extension property to cast an Any to Float. |
int | val Any .int: Int Extension property to cast an Any to Int. |
string | val Any .string: String Extension property to cast an Any to String. |