Język

GetCredentialRequest.Builder.SetAlwaysSendAppInfoToProvider(Boolean) Method

Definition

Sets a true/false value to determine if the calling app info should be removed from the request that is sent to the providers.

[Android.Runtime.Register("setAlwaysSendAppInfoToProvider", "(Z)Landroid/credentials/GetCredentialRequest$Builder;", "", ApiSince=34)]
public Android.Credentials.GetCredentialRequest.Builder SetAlwaysSendAppInfoToProvider(bool value);
[<Android.Runtime.Register("setAlwaysSendAppInfoToProvider", "(Z)Landroid/credentials/GetCredentialRequest$Builder;", "", ApiSince=34)>]
member this.SetAlwaysSendAppInfoToProvider : bool -> Android.Credentials.GetCredentialRequest.Builder

Parameters

value
Boolean

Returns

Attributes

Remarks

Sets a true/false value to determine if the calling app info should be removed from the request that is sent to the providers. Developers must set this to false if they wish to remove the CallingAppInfo from the query phases requests that providers receive. Note that the calling app info will still be sent in the final phase after the user has made a selection on the UI. If not set, the default value will be true and the calling app info will be propagated to the providers in every phase.

Android reference for android.credentials.GetCredentialRequest.Builder.setAlwaysSendAppInfoToProvider.

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