AutofillIdCompat
class AutofillIdCompat
Helper for accessing features in AutofillId.
Summary
Public functions |
|
|---|---|
AutofillId |
@RequiresApi(value = 26)Provides the |
java-static AutofillIdCompat |
@RequiresApi(value = 26)Provides a backward-compatible wrapper for |
Public functions
toAutofillId
Added in 1.11.0
@RequiresApi(value = 26)
fun toAutofillId(): AutofillId
Provides the AutofillId represented by this object.
This method is not supported on devices running SDK <26 since the platform class will not be available.
| Returns | |
|---|---|
AutofillId |
platform class object |
| See also | |
|---|---|
toAutofillIdCompat |
toAutofillIdCompat
Added in 1.11.0
@RequiresApi(value = 26)
java-static fun toAutofillIdCompat(autofillId: AutofillId): AutofillIdCompat
Provides a backward-compatible wrapper for AutofillId.
This method is not supported on devices running SDK <26 since the platform class will not be available.
| Parameters | |
|---|---|
autofillId: AutofillId |
platform class to wrap |
| Returns | |
|---|---|
AutofillIdCompat |
wrapped class |