Language

BeginGetCredentialResponse.Builder.AddAction(Action) Method

Definition

Adds an Action to the list of actions to be displayed on the UI.

[Android.Runtime.Register("addAction", "(Landroid/service/credentials/Action;)Landroid/service/credentials/BeginGetCredentialResponse$Builder;", "", ApiSince=34)]
public Android.Service.Credentials.BeginGetCredentialResponse.Builder AddAction(Android.Service.Credentials.Action action);
[<Android.Runtime.Register("addAction", "(Landroid/service/credentials/Action;)Landroid/service/credentials/BeginGetCredentialResponse$Builder;", "", ApiSince=34)>]
member this.AddAction : Android.Service.Credentials.Action -> Android.Service.Credentials.BeginGetCredentialResponse.Builder

Parameters

action
Action

Returns

Attributes

Remarks

Adds an Action to the list of actions to be displayed on the UI.

An action must be used for independent user actions, such as opening the app, intenting directly into a certain app activity etc. The pendingIntent set with the action must invoke the corresponding activity.

Android reference for android.service.credentials.BeginGetCredentialResponse.Builder.addAction.

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