AutofillManager.ExtraClientState Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Intent extra: The optional extras provided by the
android.service.autofill.AutofillService
.
[Android.Runtime.Register("EXTRA_CLIENT_STATE", ApiSince=26)]
public const string ExtraClientState;
[<Android.Runtime.Register("EXTRA_CLIENT_STATE", ApiSince=26)>]
val mutable ExtraClientState : string
Field Value
- Attributes
Remarks
Intent extra: The optional extras provided by the android.service.autofill.AutofillService
.
For example, when the service responds to a android.service.autofill.FillCallback#onSuccess(android.service.autofill.FillResponse)
with a FillResponse
that requires authentication, the Intent that launches the service authentication will contain the Bundle set by android.service.autofill.FillResponse.Builder#setClientState(Bundle)
on this extra.
On Android android.os.Build.VERSION_CODES#P
and higher, the autofill service can also add this bundle to the Intent
set as the android.app.Activity#setResult(int, Intent) result
for an authentication request, so the bundle can be recovered later on android.service.autofill.SaveRequest#getClientState()
.
Type: android.os.Bundle
Java documentation for android.view.autofill.AutofillManager.EXTRA_CLIENT_STATE
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.