Language

Notification.WearableExtender.ScreenTimeoutLong Field

Definition

This constant was deprecated in API level 29.

[Android.Runtime.Register("SCREEN_TIMEOUT_LONG", ApiSince=22)]
public const int ScreenTimeoutLong = -1;
[<Android.Runtime.Register("SCREEN_TIMEOUT_LONG", ApiSince=22)>]
val mutable ScreenTimeoutLong : int

Field Value

Value = -1
Attributes

Remarks

This constant was deprecated in API level 29. This feature is no longer supported.

Sentinel value for use with setHintScreenTimeout(int) to keep the screen on for a longer amount of time when this notification is displayed on the screen.

Android reference for android.app.Notification.WearableExtender.SCREEN_TIMEOUT_LONG.

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