-
public final class UserKt
-
-
Method Summary
Modifier and Type Method Description final StringgetInitials()final static UsergetUserByNameOrId(List<User> $self, String nameOrId)final static BooleanshouldShowOnlineIndicator(User $self, UserPresence userPresence, User currentUser)Determines if the online indicator should be shown for the user based on the user presence configuration. -
-
Method Detail
-
getInitials
final String getInitials()
-
getUserByNameOrId
final static User getUserByNameOrId(List<User> $self, String nameOrId)
-
shouldShowOnlineIndicator
final static Boolean shouldShowOnlineIndicator(User $self, UserPresence userPresence, User currentUser)
Determines if the online indicator should be shown for the user based on the user presence configuration.
- Parameters:
userPresence- The user presence configuration.currentUser- The current user.
-
-
-
-