Package 

Interface PollsSortField

  • All Implemented Interfaces:
    io.getstream.android.core.api.sort.SortField

    
    public interface PollsSortField
     implements SortField<PollData>
                        

    Represents a field that can be used for sorting polls.

    This type provides a type-safe way to specify which field should be used when sorting polls results.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class PollsSortField.CreatedAt

      Sort by the creation timestamp of the poll. This field allows sorting polls by when they were created (newest/oldest first).

      public class PollsSortField.UpdatedAt

      Sort by the last update timestamp of the poll. This field allows sorting polls by when they were last updated (newest/oldest first).

      public class PollsSortField.VoteCount

      Sort by the number of votes the poll has received. This field allows sorting polls by popularity (most/least voted).

      public class PollsSortField.Name

      Sort by the name of the poll. This field allows sorting polls alphabetically by name.

      public class PollsSortField.Id

      Sort by the unique identifier of the poll. This field allows sorting polls by their unique ID.

      public class PollsSortField.IsClosed

      Sort by whether the poll is closed. This field allows sorting polls by their closed status.

    • Method Summary

      Modifier and Type Method Description
      abstract AnySortComparator<PollData> getComparator()
      abstract String getRemote()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait