Class BannedUsersSort

  • All Implemented Interfaces:
    io.getstream.chat.android.models.querysort.ComparableFieldProvider

    @Immutable() 
    public final class BannedUsersSort
     implements ComparableFieldProvider
                        

    Sorter for banned users which takes into consideration the Date when the user was banned.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Date createdAt
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Date getCreatedAt()
      Comparable<?> getComparableField(String fieldName) Gets a comparable fields from a name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BannedUsersSort

        BannedUsersSort(Date createdAt)
        Parameters:
        createdAt - The date when the user was banned.