getDescriptor

@Nullable
abstract fun <T> getDescriptor(descriptorClass: Class<T>): T(source)

Used to access a specific descriptor format.

Return

a descriptor, or null if there was none of the requested type.

Parameters

descriptorClass

the descriptor class

<T>

the descriptor type

See also