语言

Notification.CarExtender.Builder.SetReplyAction 方法

定义

设置挂起的意向和远程输入,该意向将传达对此通知的答复。

[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

参数

pendingIntent
PendingIntent

PendingIntent:将在回复上触发的挂起意向

remoteInput
RemoteInput

RemoteInput:将携带答复的远程输入可包裹

返回

此 Android.App.Notification.CarExtender.Builder 实例允许链接调用。

特性

注解

设置挂起的意向和远程输入,该意向将传达对此通知的答复。

Android 参考。android.app.Notification.CarExtender.Builder.setReplyAction

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于