{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

DecoyKt

public final class DecoyKt


Summary

Public methods

static final @NonNull Void

Used with decoys to stub the body of the decoy function.

Public methods

illegalDecoyCallException

@ComposeCompilerApi
public static final @NonNull Void illegalDecoyCallException(@NonNull String fName)

Used with decoys to stub the body of the decoy function. Any call to this function at runtime indicates compiler error, as all calls to decoys should be compiled out.