Room Display Name Fallback Provider
This interface exists to let the implementation provide localized room display name fallback. The methods can be called when the room has no name, i.e. its m.room.name
state event does not exist or the name in it is an empty String. It allows the SDK to store the room name fallback into the local storage and so let the client do queries on the room name. Limitation: if the locale of the device changes, the methods will not be called again.
Functions
Link copied to clipboard
Return the list of user ids to ignore when computing the room display name.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getNameFor3members( name1: String, name2: String, name3: String): String
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getNameForEmptyRoom(isDirect: Boolean, leftMemberNames: List<String>): String
Content copied to clipboard
Link copied to clipboard