Notification.Builder.SetShowWhen(Boolean) 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.
Control whether the timestamp set with setWhen is shown in the content view.
[Android.Runtime.Register("setShowWhen", "(Z)Landroid/app/Notification$Builder;", "GetSetShowWhen_ZHandler")]
public virtual Android.App.Notification.Builder SetShowWhen(bool show);
[<Android.Runtime.Register("setShowWhen", "(Z)Landroid/app/Notification$Builder;", "GetSetShowWhen_ZHandler")>]
abstract member SetShowWhen : bool -> Android.App.Notification.Builder
override this.SetShowWhen : bool -> Android.App.Notification.Builder
Parameters
- show
- Boolean
boolean
Returns
This Android.App.Notification.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Control whether the timestamp set with setWhen is shown in the content view.
Android reference for android.app.Notification.Builder.setShowWhen.
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.