getMetadata

@Nullable
abstract fun getMetadata(): ComponentMetadata(source)

Gets the metadata of the component.

The metadata may not be available, in which case null is returned. Unavailable metadata may be caused by a module published without associated metadata.

Return

the ComponentMetadata or null if not available

Since

5.0