語言

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()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於