Notification.Action.Builder.AddRemoteInput(RemoteInput) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在發送此動作時,新增一個輸入,讓使用者收集。
[Android.Runtime.Register("addRemoteInput", "(Landroid/app/RemoteInput;)Landroid/app/Notification$Action$Builder;", "")]
public Android.App.Notification.Action.Builder AddRemoteInput(Android.App.RemoteInput? remoteInput);
[<Android.Runtime.Register("addRemoteInput", "(Landroid/app/RemoteInput;)Landroid/app/Notification$Action$Builder;", "")>]
member this.AddRemoteInput : Android.App.RemoteInput -> Android.App.Notification.Action.Builder
參數
- remoteInput
- RemoteInput
RemoteInput:一個用來加入動作的 RemoteInput。
傳回
這個 Android.App.Notification.Action.Builder 實例,允許呼叫串接。
- 屬性
備註
在發送此動作時,新增一個輸入,讓使用者收集。 可透過 RemoteInput.getResultsFromIntent 函式從觸發意圖中取得回應值。
Android 參考資料。android.app.Notification.Action.Builder.addRemoteInput
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。