次の方法で共有


Notification.ExtraRemoteInputDraft Field

Definition

If the notification contained an unsent draft for a RemoteInput when the user clicked on it, we're adding the draft as a String extra to the #contentIntent using this key.

[Android.Runtime.Register("EXTRA_REMOTE_INPUT_DRAFT", ApiSince=28)]
public const string ExtraRemoteInputDraft;
[<Android.Runtime.Register("EXTRA_REMOTE_INPUT_DRAFT", ApiSince=28)>]
val mutable ExtraRemoteInputDraft : string

Field Value

Implements

Attributes

Remarks

If the notification contained an unsent draft for a RemoteInput when the user clicked on it, we're adding the draft as a String extra to the #contentIntent using this key.

Apps may use this extra to prepopulate text fields in the app, where the user usually sends messages.

Java documentation for android.app.Notification.EXTRA_REMOTE_INPUT_DRAFT.

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.

Applies to