Class ContentInfoProvider

java.lang.Object
io.appmetrica.analytics.push.notification.providers.ContentInfoProvider
All Implemented Interfaces:
NotificationValueProvider<android.text.Spanned>

public class ContentInfoProvider extends Object implements NotificationValueProvider<android.text.Spanned>
Extracts value for NotificationCompat.Builder.setContentInfo(CharSequence) method.
  • Constructor Details

    • ContentInfoProvider

      public ContentInfoProvider()
  • Method Details

    • get

      @Nullable public android.text.Spanned get(@NonNull PushMessage pushMessage)
      Extracts value for NotificationCompat.Builder.setContentInfo(CharSequence) method.
      Specified by:
      get in interface NotificationValueProvider<android.text.Spanned>
      Parameters:
      pushMessage - received PushMessage
      Returns:
      extracted value