Interface PushNotificationPreferences.Builder

    • Method Detail

      • allowNotifications

        PushNotificationPreferences.Builder allowNotifications​(String allowNotifications)

        Enum value that indicates which push notifications to send to the requested member of a channel. ALL sends all push notifications, NONE sends no push notifications, FILTERED sends only filtered push notifications.

        Parameters:
        allowNotifications - Enum value that indicates which push notifications to send to the requested member of a channel. ALL sends all push notifications, NONE sends no push notifications, FILTERED sends only filtered push notifications.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowNotifications, AllowNotifications
      • allowNotifications

        PushNotificationPreferences.Builder allowNotifications​(AllowNotifications allowNotifications)

        Enum value that indicates which push notifications to send to the requested member of a channel. ALL sends all push notifications, NONE sends no push notifications, FILTERED sends only filtered push notifications.

        Parameters:
        allowNotifications - Enum value that indicates which push notifications to send to the requested member of a channel. ALL sends all push notifications, NONE sends no push notifications, FILTERED sends only filtered push notifications.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowNotifications, AllowNotifications
      • filterRule

        PushNotificationPreferences.Builder filterRule​(String filterRule)

        The simple JSON object used to send a subset of a push notification to the requested member.

        Parameters:
        filterRule - The simple JSON object used to send a subset of a push notification to the requested member.
        Returns:
        Returns a reference to this object so that method calls can be chained together.