UserUtils

open class UserUtils

Functions

Link copied to clipboard
open fun getDisplayName(@NonNull context: Context, @Nullable user: User): String
open fun getDisplayName(@NonNull context: Context, @Nullable userInfo: UserInfo): String
open fun getDisplayName(@NonNull context: Context, @Nullable user: User, usePronouns: Boolean): String
open fun getDisplayName(@NonNull context: Context, @Nullable user: User, usePronouns: Boolean, maxLength: Int): String
Link copied to clipboard
open fun <T : User?> toUserInfo(@NonNull user: T): UserInfo