Object ChannelNameFormatter.Companion
-
- All Implemented Interfaces:
public class ChannelNameFormatter.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static ChannelNameFormatter.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ChannelNameFormatterdefaultFormatter(Context context, @StringRes() Integer fallback, Integer maxMembers)Builds the default channel name formatter. final ChannelNameFormatterdefaultFormatter(Context context, @StringRes() Integer fallback)Builds the default channel name formatter. final ChannelNameFormatterdefaultFormatter(Context context)Builds the default channel name formatter. -
-
Method Detail
-
defaultFormatter
@JvmOverloads() final ChannelNameFormatter defaultFormatter(Context context, @StringRes() Integer fallback, Integer maxMembers)
Builds the default channel name formatter.
- Parameters:
context- The context used to load string resources.fallback- The resource identifier of a fallback string.maxMembers- The maximum number of members used to generate a name for a distinct channel.
-
defaultFormatter
@JvmOverloads() final ChannelNameFormatter defaultFormatter(Context context, @StringRes() Integer fallback)
Builds the default channel name formatter.
- Parameters:
context- The context used to load string resources.fallback- The resource identifier of a fallback string.
-
defaultFormatter
@JvmOverloads() final ChannelNameFormatter defaultFormatter(Context context)
Builds the default channel name formatter.
- Parameters:
context- The context used to load string resources.
-
-
-
-