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(): ChannelPushSettingFragment
a Creates an ChannelPushSettingFragment with the arguments supplied to this builder.
Link copied to clipboard
open fun <T : ChannelPushSettingFragment?> setCustomFragment(fragment: T): ChannelPushSettingFragment.Builder
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
Sets the icon on the right button of the header.
Link copied to clipboard
Sets the icon on the right button of the header.
Link copied to clipboard
open fun setHeaderTitle(@NonNull title: String): ChannelPushSettingFragment.Builder
Sets the title of the header.
Link copied to clipboard
open fun setLoadingDialogHandler(@NonNull loadingDialogHandler: LoadingDialogHandler): ChannelPushSettingFragment.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
open fun setUseHeader(useHeader: Boolean): ChannelPushSettingFragment.Builder
Sets whether the header is used.
Link copied to clipboard
open fun setUseHeaderLeftButton(useHeaderLeftButton: Boolean): ChannelPushSettingFragment.Builder
Sets whether the left button of the header is used.
Link copied to clipboard
open fun setUseHeaderRightButton(useHeaderRightButton: Boolean): ChannelPushSettingFragment.Builder
Sets whether the right button of the header is used.
Link copied to clipboard
open fun withArguments(@NonNull args: Bundle): ChannelPushSettingFragment.Builder
Sets arguments to this fragment.