# ComponentMetadataContext

interface ComponentMetadataContext(source)

Provides access to component metadata from a ComponentMetadataRule.

#### Since

4.9

## Functions

getDescriptor
Link copied to clipboard
@Nullable
abstract fun <T> getDescriptor(descriptorClass: Class<T>): @Nullable T
Used to access a specific descriptor format.
getDetails
Link copied to clipboard
@NonNull
abstract fun getDetails(): @NonNull ComponentMetadataDetails