API reference
API reference
Select your platform
No SDKs available
No versions available

ComponentCompanion

ComponentCompanion

interface ComponentCompanion
An interface for component companion objects that provides metadata about components.
This interface defines methods that return information about a component’s dependencies, attributes, and other metadata.

Properties

NameSummary
createDefaultInstance
abstract val createDefaultInstance: () -> ComponentBase
id
abstract val id: Int

Functions

NameSummary
attributeKeys
open fun attributeKeys(): IntArray
attributeMetaData
open fun attributeMetaData(): Map<Int, <Error class: unknown class><RegisteredAttributeType, String>>
attributeTypeCountAvailable
open fun attributeTypeCountAvailable(): Boolean
attributeTypeCounts
open fun attributeTypeCounts(): IntArray
attributeTypes
open fun attributeTypes(): IntArray
dependents
open fun dependents(): IntArray
enumClassesMap
open fun enumClassesMap(): Map<Int, Class<out Enum<*>>>
keyStringToKeyIntMap
open fun keyStringToKeyIntMap(keyString: String): Int?
Did you find this page helpful?
Thumbs up icon
Thumbs down icon