NotificationContentProviderBase

genel soyut sınıf NotificationContentProviderBase Object'i genişletir
uygular NotificationContentProvider

Müşteriler, kalıcı bildirimin içeriğini kontrol etmek istiyorsa bu sınıfı genişletmelidir. Bildirim içeriği değişirse updateNotification(), yeni bildirimi ForegroundServiceManager aracılığıyla aktaran pratik bir yöntemdir.

Kamu Oluşturucu Özeti

NotificationContentProviderBase(Uygulama uygulaması)
Marka

Herkese Açık Yöntem Özeti

soyut Bildirim
getNotification()
Bildirimin en son sürümünü döndürür.
void
updateNotification()
NotificationContentProvider adlı kullanıcıdan bildirimin en son sürümünü istedikten sonra bildirimi yeniden oluşturur.

Devralınan Yöntem Özeti

İnşaatçılar

genel NotificationContentProviderBase (Uygulama uygulaması)

Marka

Parametreler
uygulama

Herkese Açık Yöntemler

genel soyut Bildirim getNotification ()

Bildirimin en son sürümünü döndürür.

genel void updateNotification ()

NotificationContentProvider adlı kullanıcıdan bildirimin en son sürümünü istedikten sonra bildirimi yeniden oluşturur. Elintilerin bunu ForegroundServiceManager singleton ile çağırması gerekir.