Język

Notification.CarExtender.Builder.SetReplyAction Method

Definition

Sets the pending intent and remote input which will convey the reply to this notification.

[Android.Runtime.Register("setReplyAction", "(Landroid/app/PendingIntent;Landroid/app/RemoteInput;)Landroid/app/Notification$CarExtender$Builder;", "GetSetReplyAction_Landroid_app_PendingIntent_Landroid_app_RemoteInput_Handler", ApiSince=23)]
public virtual Android.App.Notification.CarExtender.Builder SetReplyAction(Android.App.PendingIntent pendingIntent, Android.App.RemoteInput remoteInput);
[<Android.Runtime.Register("setReplyAction", "(Landroid/app/PendingIntent;Landroid/app/RemoteInput;)Landroid/app/Notification$CarExtender$Builder;", "GetSetReplyAction_Landroid_app_PendingIntent_Landroid_app_RemoteInput_Handler", ApiSince=23)>]
abstract member SetReplyAction : Android.App.PendingIntent * Android.App.RemoteInput -> Android.App.Notification.CarExtender.Builder
override this.SetReplyAction : Android.App.PendingIntent * Android.App.RemoteInput -> Android.App.Notification.CarExtender.Builder

Parameters

pendingIntent
PendingIntent

PendingIntent: the pending intent which will be triggered on a reply

remoteInput
RemoteInput

RemoteInput: the remote input parcelable which will carry the reply

Returns

This Android.App.Notification.CarExtender.Builder instance, allowing calls to be chained.

Attributes

Remarks

Sets the pending intent and remote input which will convey the reply to this notification.

See also:

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-08-03 UTC.

Android reference for android.app.Notification.CarExtender.Builder.setReplyAction.

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