Notification.Builder.SetTimeoutAfter(Int64) 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.
Specifies a duration in milliseconds after which this notification should be canceled, if it is not already canceled.
[Android.Runtime.Register("setTimeoutAfter", "(J)Landroid/app/Notification$Builder;", "GetSetTimeoutAfter_JHandler", ApiSince=26)]
public virtual Android.App.Notification.Builder SetTimeoutAfter(long durationMs);
[<Android.Runtime.Register("setTimeoutAfter", "(J)Landroid/app/Notification$Builder;", "GetSetTimeoutAfter_JHandler", ApiSince=26)>]
abstract member SetTimeoutAfter : int64 -> Android.App.Notification.Builder
override this.SetTimeoutAfter : int64 -> Android.App.Notification.Builder
Parameters
- durationMs
- Int64
long
Returns
This Android.App.Notification.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Specifies a duration in milliseconds after which this notification should be canceled, if it is not already canceled.
Android reference for android.app.Notification.Builder.setTimeoutAfter.
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.