Compartir a través de


Service.StopForegroundRemove Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.StopForegroundFlags enum directly instead of this field.

Selector for #stopForeground(int): if supplied, the notification previously supplied to #startForeground will be cancelled and removed from display.

[Android.Runtime.Register("STOP_FOREGROUND_REMOVE", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.StopForegroundFlags enum directly instead of this field.", true)]
public const Android.App.StopForegroundFlags StopForegroundRemove = 1;
[<Android.Runtime.Register("STOP_FOREGROUND_REMOVE", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.StopForegroundFlags enum directly instead of this field.", true)>]
val mutable StopForegroundRemove : Android.App.StopForegroundFlags

Field Value

Value = 1
Attributes

Remarks

Selector for #stopForeground(int): if supplied, the notification previously supplied to #startForeground will be cancelled and removed from display.

Java documentation for android.app.Service.STOP_FOREGROUND_REMOVE.

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