API reference

FeatureSupport Class

Availability of one Layout feature on the selected scene platform.
FeatureSupport.isAvailable reports whether the feature can be used natively in this scene. It is independent of whether the app declared or is actively using the feature. When false, the feature's normal compatibility behavior still applies; inspect FeatureSupport.unavailableReason when the distinction matters.

Signature

@Immutable class FeatureSupport

Properties

isAvailable : Boolean
[Get]
Signature
val isAvailable: Boolean
unavailableReason : FeatureUnavailableReason?
[Get]
Signature
val unavailableReason: FeatureUnavailableReason?