Notification.WearableExtender.SetHintScreenTimeout(Int32) 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.
Set a hint that the screen should remain on for at least this duration when this notification is displayed on the screen.
[Android.Runtime.Register("setHintScreenTimeout", "(I)Landroid/app/Notification$WearableExtender;", "", ApiSince=22)]
public Android.App.Notification.WearableExtender? SetHintScreenTimeout(int timeout);
[<Android.Runtime.Register("setHintScreenTimeout", "(I)Landroid/app/Notification$WearableExtender;", "", ApiSince=22)>]
member this.SetHintScreenTimeout : int -> Android.App.Notification.WearableExtender
Parameters
- timeout
- Int32
int: the requested screen timeout in milliseconds. Can also be either SCREEN_TIMEOUT_SHORT or SCREEN_TIMEOUT_LONG.
Returns
this object for method chaining
- Attributes
Remarks
Set a hint that the screen should remain on for at least this duration when this notification is displayed on the screen.
Android reference for android.app.Notification.WearableExtender.setHintScreenTimeout.
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.