setTicker

@NonNull
open fun setTicker(@Nullable tickerText: @Nullable CharSequence): @NonNull NotificationCompat.Builder

Sets the "ticker" text which is sent to accessibility services. Prior to LOLLIPOP, sets the text that is displayed in the status bar when the notification first arrives.


@NonNull
open fun setTicker(@Nullable tickerText: @Nullable CharSequence, @Nullable views: @Nullable RemoteViews): @NonNull NotificationCompat.Builder

Deprecated

use setTicker

Sets the "ticker" text which is sent to accessibility services. Prior to LOLLIPOP, sets the text that is displayed in the status bar when the notification first arrives, and also a RemoteViews object that may be displayed instead on some devices.