Package com.netmera

Class NetmeraInboxFilter.Builder

  • Enclosing class:
    NetmeraInboxFilter

    public static class NetmeraInboxFilter.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • status

        public NetmeraInboxFilter.Builder status​(int status)
        Set of status options to be included. Multiple statuses can be combined with | operator.

        Returned inbox will only contain push objects whose inbox status matches with one of given statuses.

        Default value is Integer.MAX_VALUE.

      • pageSize

        public NetmeraInboxFilter.Builder pageSize​(int pageSize)
        Number of objects to be included in a page of the fetch operation.

        Default value is NetmeraPushObject.STATUS_READ | NetmeraPushObject.STATUS_UNREAD.

      • includeExpiredObjects

        public NetmeraInboxFilter.Builder includeExpiredObjects​(boolean includeExpiredObjects)
        boolean value determining whether expired push notifications should be included or not.
      • categories

        public NetmeraInboxFilter.Builder categories​(java.util.List<java.lang.String> categories)
        List of categories to be included.

        Returned inbox will only contain push objects whose category matches with one of given list of categories.