apply

protected open fun apply(@NonNull context: Context, @NonNull args: Bundle): MessageInputComponent.Params

Apply data that matches keys mapped to Params' properties. KEY_INPUT_LEFT_BUTTON_ICON_RES_ID is mapped to setLeftButtonIconKEY_INPUT_LEFT_BUTTON_ICON_TINT is mapped to setLeftButtonIconTintKEY_INPUT_RIGHT_BUTTON_ICON_RES_ID is mapped to setRightButtonIconTintKEY_INPUT_RIGHT_BUTTON_ICON_TINT is mapped to setRightButtonIconTintKEY_INPUT_HINT is mapped to setInputHintKEY_INPUT_TEXT is mapped to setInputTextKEY_USE_INPUT_LEFT_BUTTON is mapped to setUseLeftButtonKEY_INPUT_RIGHT_BUTTON_SHOW_ALWAYS is mapped to showInputRightButtonAlwaysKEY_KEYBOARD_DISPLAY_TYPE is mapped to setKeyboardDisplayTypeKEY_MENTION_UI_CONFIG_SENT_FROM_ME and KEY_MENTION_UI_CONFIG_SENT_FROM_OTHERS are mapped to setMentionUIConfigKEY_MESSAGE_INPUT_TEXT_UI_CONFIG and KEY_MESSAGE_INPUT_TEXT_UI_CONFIG are mapped to setMessageInputTextUIConfigKEY_USE_SUGGESTED_MENTION_LIST_DIVIDER is mapped to setUseSuggestedMentionListDividerKEY_CHANNEL_CONFIG is mapped to setChannelConfig

Return

This Params object that applied with given data. since 3.0.0

Parameters

context

The Context this component is currently associated with

args

The sets of arguments to apply at Params.