Notification.Action.GetDataOnlyRemoteInputs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the list of inputs to be collected from the user that ONLY accept data when this action is sent.
[Android.Runtime.Register("getDataOnlyRemoteInputs", "()[Landroid/app/RemoteInput;", "GetGetDataOnlyRemoteInputsHandler", ApiSince=26)]
public virtual Android.App.RemoteInput[]? GetDataOnlyRemoteInputs ();
[<Android.Runtime.Register("getDataOnlyRemoteInputs", "()[Landroid/app/RemoteInput;", "GetGetDataOnlyRemoteInputsHandler", ApiSince=26)>]
abstract member GetDataOnlyRemoteInputs : unit -> Android.App.RemoteInput[]
override this.GetDataOnlyRemoteInputs : unit -> Android.App.RemoteInput[]
Returns
- Attributes
Remarks
Get the list of inputs to be collected from the user that ONLY accept data when this action is sent. These remote inputs are guaranteed to return true on a call to RemoteInput#isDataOnly
.
Returns null if there are no data-only remote inputs.
This method exists so that legacy RemoteInput collectors that pre-date the addition of non-textual RemoteInputs do not access these remote inputs.
Java documentation for android.app.Notification.Action.getDataOnlyRemoteInputs()
.
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.