My understanding on Notification.Builder
's setTicker
is that, it will show text on status bar, even without having user to "pull down" the incoming notification.
According to the docs:
Set the "ticker" text which is sent to accessibility services.
However, in Android 5, they no longer show text in the status bar (Only showing a single app icon), when there is incoming notification.
I was wondering, does setTicker
still have other usage, in Android 5?
Yes, it still does. Please see here.
If you were to turn on accessibility services in your device (for like visually challenged people), the text passed onto setTicker()
will be audibly announced.
The setTicker()
method only has usage with accessibility services enabled. It does not show a text in the status bar.
To reactivate showing text in status bar:
notification.setPriority(Notification.PRIORITY_HIGH);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With