Klasse NotificationData.Builder

java.lang.Object
com.blukii.sdk.common.NotificationData.Builder
Umschließende Klasse:
NotificationData

public static class NotificationData.Builder extends Object
Builder for class NotificationData
  • Konstruktordetails

  • Methodendetails

    • setId

      public NotificationData.Builder setId(int id)
      Sets the notification id.

      Default value: 1, must not be 0.

      Parameter:
      id - notification id
      Gibt zurück:
      builder
    • setNotification

      public NotificationData.Builder setNotification(android.app.Notification notification)
      Sets the notification object.

      Must not be null.

      Parameter:
      notification - notification object
      Gibt zurück:
      builder
    • build

      public NotificationData build()