-
- 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 classPollsSortField.CreatedAtSort by the creation timestamp of the poll. This field allows sorting polls by when they were created (newest/oldest first).
public classPollsSortField.UpdatedAtSort by the last update timestamp of the poll. This field allows sorting polls by when they were last updated (newest/oldest first).
public classPollsSortField.VoteCountSort by the number of votes the poll has received. This field allows sorting polls by popularity (most/least voted).
public classPollsSortField.NameSort by the name of the poll. This field allows sorting polls alphabetically by name.
public classPollsSortField.IdSort by the unique identifier of the poll. This field allows sorting polls by their unique ID.
public classPollsSortField.IsClosedSort 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 StringgetRemote()-
-
Method Detail
-
getComparator
abstract AnySortComparator<PollData> getComparator()
-
-
-
-