Property

contentHints

The Android autofill hints of this ContentType, for populating android.view.ViewStructure.setAutofillHints.

Source set: Android
public val ContentType.contentHints: Set<String>

The Android autofill hints of this ContentType, for populating android.view.ViewStructure.setAutofillHints.

Hints use the Android autofill hint vocabulary: the View.AUTOFILL_HINT_* constants and androidx.autofill.HintConstants, or any custom hint passed to ContentType (contentHint). Hints are in declaration order; a ContentType combined with ContentType.plus lists the receiver's hints first, followed by the hints of the other ContentType that aren't already present.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: