语言

Notification.Action.GetRemoteInputs 方法

定义

获取发送此操作时要从用户收集的输入列表。

[Android.Runtime.Register("getRemoteInputs", "()[Landroid/app/RemoteInput;", "GetGetRemoteInputsHandler")]
public virtual Android.App.RemoteInput[]? GetRemoteInputs();
[<Android.Runtime.Register("getRemoteInputs", "()[Landroid/app/RemoteInput;", "GetGetRemoteInputsHandler")>]
abstract member GetRemoteInputs : unit -> Android.App.RemoteInput[]
override this.GetRemoteInputs : unit -> Android.App.RemoteInput[]

返回

属性

注解

获取发送此操作时要从用户收集的输入列表。 如果未添加任何远程输入,则可能会返回 null。 仅返回接受文本输入的输入。 对于仅接受数据使用的 #getDataOnlyRemoteInputs输入。

Java文档android.app.Notification.Action.getRemoteInputs()。

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

适用于