Notification.Action.Builder.SetAllowGeneratedReplies(Boolean) Method

Definition

Set whether the platform should automatically generate possible replies to add to RemoteInput.getChoices().

[Android.Runtime.Register("setAllowGeneratedReplies", "(Z)Landroid/app/Notification$Action$Builder;", "", ApiSince=24)]
public Android.App.Notification.Action.Builder SetAllowGeneratedReplies(bool allowGeneratedReplies);
[<Android.Runtime.Register("setAllowGeneratedReplies", "(Z)Landroid/app/Notification$Action$Builder;", "", ApiSince=24)>]
member this.SetAllowGeneratedReplies : bool -> Android.App.Notification.Action.Builder

Parameters

allowGeneratedReplies
Boolean

boolean: true to allow generated replies, false otherwise

Returns

This Android.App.Notification.Action.Builder instance, allowing calls to be chained.

Attributes

Remarks

Set whether the platform should automatically generate possible replies to add to RemoteInput.getChoices(). If the Action doesn't have a RemoteInput, this has no effect.

Android reference for android.app.Notification.Action.Builder.setAllowGeneratedReplies.

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