Class QuerySortByReflection

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

    
    public class QuerySortByReflection<T extends Object>
    extends BaseQuerySort<T>
                        

    Sort specification for api queries. You can specify QuerySortByReflection by referencing kotlin class property or passing field name as string instance. QuerySortByReflection.asc(Channel::memberCount) and QuerySortByReflection.asc<Channel>("member_count") mean the same.