Builder

open class Builder

Constructors

Link copied to clipboard
open fun Builder(@NonNull channelUrl: String)
Constructor
Link copied to clipboard
open fun Builder(@NonNull channelUrl: String, @NonNull themeMode: SendbirdUIKit.ThemeMode)
Constructor
Link copied to clipboard
open fun Builder(@NonNull channelUrl: String, @StyleRes customThemeResId: Int)
Constructor

Functions

Link copied to clipboard
open fun build(): OpenChannelSettingsFragment
Creates an OpenChannelSettingsFragment with the arguments supplied to this builder.
Link copied to clipboard
Sets the custom fragment.
Link copied to clipboard
Sets the icon on the left button of the header.
Link copied to clipboard
Sets the icon on the left button of the header.
Link copied to clipboard
open fun setHeaderTitle(@NonNull title: String): OpenChannelSettingsFragment.Builder
Sets the title of the header.
Link copied to clipboard
open fun setLoadingDialogHandler(@NonNull loadingDialogHandler: LoadingDialogHandler): OpenChannelSettingsFragment.Builder
Sets the custom loading dialog handler
Link copied to clipboard
Sets the click listener on the left button of the header.
Link copied to clipboard
Sets the click listener on the right button of the header.
Link copied to clipboard
Sets the channel setting menu click listener.
Link copied to clipboard
open fun setRightButtonText(@Nullable rightButtonText: String): OpenChannelSettingsFragment.Builder
Sets the text on the right button of the header.
Link copied to clipboard
open fun setUseHeader(useHeader: Boolean): OpenChannelSettingsFragment.Builder
Sets whether the header is used.
Link copied to clipboard
open fun setUseHeaderLeftButton(useHeaderLeftButton: Boolean): OpenChannelSettingsFragment.Builder
Sets whether the left button of the header is used.
Link copied to clipboard
open fun setUseHeaderRightButton(useHeaderRightButton: Boolean): OpenChannelSettingsFragment.Builder
Sets whether the right button of the header is used.
Link copied to clipboard
open fun withArguments(@NonNull args: Bundle): OpenChannelSettingsFragment.Builder
Sets arguments to this fragment.