Function

clearAndSetSemantics

Clears the semantics of all descendants and sets new semantics.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

clearAndSetSemantics

Android
public fun RemoteModifier.clearAndSetSemantics(
    properties: SemanticsPropertyReceiver.() -> Unit
): RemoteModifier

Clears the semantics of all descendants and sets new semantics.

Parameters

properties A lambda to configure the semantics.