SaveRequest.ClientState Property

Definition

Gets the latest client state bundle set by the service in a FillResponse.Builder#setClientState(Bundle) fill response.

public Android.OS.Bundle? ClientState { [Android.Runtime.Register("getClientState", "()Landroid/os/Bundle;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getClientState", "()Landroid/os/Bundle;", "", ApiSince=26)>]
member this.ClientState : Android.OS.Bundle

Property Value

The client state.

Attributes

Remarks

Gets the latest client state bundle set by the service in a FillResponse.Builder#setClientState(Bundle) fill response.

<b>Note:</b> Prior to Android android.os.Build.VERSION_CODES#P, only client state bundles set by FillResponse.Builder#setClientState(Bundle) were considered. On Android android.os.Build.VERSION_CODES#P and higher, bundles set in the result of an authenticated request through the android.view.autofill.AutofillManager#EXTRA_CLIENT_STATE extra are also considered (and take precedence when set).

Java documentation for android.service.autofill.SaveRequest.getClientState().

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.

Applies to