Notification.Action.WearableExtender.SetCancelLabel 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.
Overloads
| Name | Description |
|---|---|
| SetCancelLabel(ICharSequence) |
Set a label to display to cancel the action. |
| SetCancelLabel(String) |
Set a label to display to cancel the action. |
SetCancelLabel(ICharSequence)
Set a label to display to cancel the action.
[Android.Runtime.Register("setCancelLabel", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Action$WearableExtender;", "", ApiSince=22)]
public Android.App.Notification.Action.WearableExtender SetCancelLabel(Java.Lang.ICharSequence label);
[<Android.Runtime.Register("setCancelLabel", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Action$WearableExtender;", "", ApiSince=22)>]
member this.SetCancelLabel : Java.Lang.ICharSequence -> Android.App.Notification.Action.WearableExtender
Parameters
- label
- ICharSequence
CharSequence: the label to display to cancel the action
Returns
this object for method chaining
- Attributes
Remarks
Set a label to display to cancel the action. This is usually an imperative verb, like "Cancel".
Android reference for android.app.Notification.Action.WearableExtender.setCancelLabel.
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
SetCancelLabel(String)
Set a label to display to cancel the action.
public Android.App.Notification.Action.WearableExtender SetCancelLabel(string label);
member this.SetCancelLabel : string -> Android.App.Notification.Action.WearableExtender
Parameters
- label
- String
CharSequence: the label to display to cancel the action
Returns
this object for method chaining
Remarks
Set a label to display to cancel the action. This is usually an imperative verb, like "Cancel".
Android reference for android.app.Notification.Action.WearableExtender.setCancelLabel.
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.