Skip to main content

LMFeedRoomOrderType Enum

The LMFeedRoomOrderType enum represents the various types of order for feed rooms. Each value corresponds to a specific sorting criterion used to organize feed rooms. Below are the details of the LMFeedRoomOrderType enum:

Enum Values​

ValueTypeDescription
newestintSort by the newest feed rooms (value: 0).
recentlyActiveintSort by recently active feed rooms (value: 1).
mostMessagesintSort by feed rooms with the most messages (value: 2).
mostParticipantsintSort by feed rooms with the most participants (value: 3).

Methods​

LMFeedRoomOrderType.fromValue​

The fromValue factory constructor returns the LMFeedRoomOrderType enum constant that corresponds to the given integer value. If the provided value does not match any of the defined enum values, it throws an ArgumentError.

factory LMFeedRoomOrderType.fromValue(int value)