Notification.Builder.SetTicker Method

Definition

Overloads

SetTicker(String)

Set the "ticker" text which is displayed in the status bar when the notification first arrives.

SetTicker(String, RemoteViews)
Obsolete.

Set the ticker text.

SetTicker(ICharSequence)

Set the "ticker" text which is displayed in the status bar when the notification first arrives.

SetTicker(ICharSequence, RemoteViews)
Obsolete.

Set the ticker text and associated RemoteViews.

SetTicker(String)

Set the "ticker" text which is displayed in the status bar when the notification first arrives.

C#
public Android.App.Notification.Builder SetTicker (string? tickerText);

Parameters

tickerText
String

The ticker text to display.

Returns

Remarks

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

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

SetTicker(String, RemoteViews)

Caution

deprecated

Set the ticker text.

C#
[System.Obsolete("deprecated")]
public Android.App.Notification.Builder? SetTicker (string? tickerText, Android.Widget.RemoteViews? views);

Parameters

tickerText
String

The ticker text to display.

views
RemoteViews

The RemoteViews object to display.

Returns

Attributes

Remarks

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

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions (Obsolete)
.NET for Android (.NET for Android API 34, .NET for Android API 35)

SetTicker(ICharSequence)

Set the "ticker" text which is displayed in the status bar when the notification first arrives.

C#
[Android.Runtime.Register("setTicker", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;", "GetSetTicker_Ljava_lang_CharSequence_Handler")]
public virtual Android.App.Notification.Builder SetTicker (Java.Lang.ICharSequence? tickerText);

Parameters

tickerText
ICharSequence

The ticker text to display.

Returns

Attributes

Remarks

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.

See also

Applies to

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

SetTicker(ICharSequence, RemoteViews)

Caution

deprecated

Set the ticker text and associated RemoteViews.

C#
[Android.Runtime.Register("setTicker", "(Ljava/lang/CharSequence;Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", "GetSetTicker_Ljava_lang_CharSequence_Landroid_widget_RemoteViews_Handler")]
[System.Obsolete("deprecated")]
public virtual Android.App.Notification.Builder? SetTicker (Java.Lang.ICharSequence? tickerText, Android.Widget.RemoteViews? views);

Parameters

tickerText
ICharSequence

The ticker text to display.

views
RemoteViews

The RemoteViews object to display.

Returns

Attributes

Remarks

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.

See also

Applies to

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions (Obsolete)
.NET for Android (.NET for Android API 34, .NET for Android API 35)