Open Channel Message Input Component
This class creates and performs a view corresponding the message input area for OpenChannel
in Sendbird UIKit. since 3.0.0
Constructors
Types
Functions
Link copied to clipboard
Returns the edit text view used in the input component bt default.
Link copied to clipboard
Returns the view created by onCreateView.
Link copied to clipboard
Notifies this component that the channel data has changed.
Link copied to clipboard
open fun notifyDataChanged(@Nullable message: BaseMessage, @NonNull channel: OpenChannel, @NonNull defaultText: String)
Notifies this component that the data needed to draw the input has changed.
Link copied to clipboard
Notifies this component that the muted state of the current user has changed.
Link copied to clipboard
Link copied to clipboard
Called when the cancel button is clicked, when the input is the edited mode.
Link copied to clipboard
Called when the save button is clicked, when the input is the edited mode.
Link copied to clipboard
protected open fun onEditModeTextChanged(@NonNull s: CharSequence, start: Int, before: Int, count: Int)
Called when the input text is changed, when the input is the edited mode.
Link copied to clipboard
Called when the left button of the input is clicked.
Link copied to clipboard
protected open fun onInputModeChanged(@NonNull before: MessageInputView.Mode, @NonNull current: MessageInputView.Mode)
Called when the input mode is changed.
Link copied to clipboard
Called when the right button of the input is clicked.
Link copied to clipboard
protected open fun onInputTextChanged(@NonNull s: CharSequence, start: Int, before: Int, count: Int)
Called when the input text is changed.
Link copied to clipboard
Requests to set the input mode.
Link copied to clipboard
open fun setOnEditModeCancelButtonClickListener(@Nullable editModeCancelButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the cancel button is clicked, when the input is the edited mode.
Link copied to clipboard
open fun setOnEditModeSaveButtonClickListener(@Nullable editModeSaveButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the save button is clicked, when the input is the edited mode.
Link copied to clipboard
open fun setOnEditModeTextChangedListener(@Nullable editModeTextChangedListener: OnInputTextChangedListener)
Register a callback to be invoked when the input text is changed, when the input is the edited mode.
Link copied to clipboard
open fun setOnInputLeftButtonClickListener(@Nullable inputLeftButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the left button of the input is clicked.
Link copied to clipboard
open fun setOnInputModeChangedListener(@Nullable inputModeChangedListener: OnInputModeChangedListener)
Register a callback to be invoked when the input mode is changed.
Link copied to clipboard
open fun setOnInputRightButtonClickListener(@Nullable inputRightButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the right button of the input is clicked.
Link copied to clipboard
open fun setOnInputTextChangedListener(@Nullable inputTextChangedListener: OnInputTextChangedListener)
Register a callback to be invoked when the input text is changed.
Link copied to clipboard