public class MsgInputFragment extends BaseFra implements android.view.View.OnClickListener
限定符和类型 | 类和说明 |
---|---|
static interface |
MsgInputFragment.AdminInputMsgCallBack |
static interface |
MsgInputFragment.DanmakuSwitchListener |
BaseFra.TopType
限定符和类型 | 字段和说明 |
---|---|
static int |
INPUR_TYPE_NORMAL |
static int |
INPUR_TYPE_WORLDMSG |
static int |
SHOW_FROM_DRAWING_GAME_ANSWER |
static int |
SHOW_FROM_NORMAL_INPUT |
act, DEFAULT_TYPE_FROME, isShow, mBaseHandler, mInitPresenter, mIsCheez, mLastClickTsMs, mRootView, mStartupController, TYPE_FROME_COIN, TYPE_FROME_FANS, TYPE_FROME_STAR
构造器和说明 |
---|
MsgInputFragment() |
限定符和类型 | 方法和说明 |
---|---|
void |
appendCharsequence(java.lang.CharSequence text) |
java.lang.String |
getMessage() |
int |
getShowSource() |
void |
hideChatBoard()
隐藏聊天面板
|
boolean |
isChatShowing() |
boolean |
isDanmakuEnabled() |
boolean |
isFansBoardShow() |
void |
onClick(android.view.View v) |
void |
onConfigurationChanged(android.content.res.Configuration newConfig) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDanmakuCheckClick() |
void |
onDestroy() |
void |
onResume() |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
static java.lang.String |
removeSpecialChars(java.lang.String str) |
void |
setAdminInputMsgCallBack(MsgInputFragment.AdminInputMsgCallBack adminInputMsgCallBack) |
void |
setDanmakuSwitchListener(MsgInputFragment.DanmakuSwitchListener danmakuSwitchListener) |
void |
setFatherFrament(ChatFraSdk fragment,
CustomConstraintLayout layout,
boolean isLive) |
void |
setHostId(java.lang.String boZhuUid) |
void |
setInputType(int inputType) |
void |
setIsBoZhu(boolean isBoZhu) |
void |
setOnDanmakuSendClickListener(android.view.View.OnClickListener onDanmakuSendClickListener) |
void |
setOnSendClickListener(android.view.View.OnClickListener onSendClickListener) |
void |
setShowFansTag(boolean showFansTag) |
void |
setShowSource(int showSource)
设置弹出场景来源
|
void |
setText(java.lang.String text) |
void |
setUIForLand(boolean isLand)
适配直播间横屏模式
|
void |
setVideoId(java.lang.String videoId) |
void |
setVisible(int visible) |
void |
setWorldMsgListener(WorldMsgInputView.WorldMsgListener worldMsgListener) |
void |
setWorldMsgText(java.lang.String text) |
void |
showChatBoard()
显示聊天面板
|
void |
showDanmu(boolean show) |
void |
showFansTagBoard()
显示粉丝标签面板
|
finish, generateNetworkLiveData, getDescription, getHttpMsgTag, getInitOnceLoginOrNotRunnable, getInitOnceMustLoginRunnable, getInitRepeatLoginOrNotRunnable, getInitRepeatMustLoginRunnable, getThreadInfo, hasNetRequest, hideLoading, initPresenter, isAccountLogin, isActivityAlive, isCancelHttpMsgWhenPageDestroy, isFinish2, isShow, isShowVipBanner, isTwooProduct, isViewTokenValid, isVisitorMode, onAttach, onCreate, onInitNotImportantCode, onNetRequestEnd, onNetRequestStart, onShareClickForMatch, onStartupCompleted, runOnUiThread, runOnUiThreadDelay, setUserVisibleHint, showLoading, showLoading, showLoading
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getDefaultViewModelProviderFactory, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getParentFragmentManager, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onActivityResult, onAttach, onAttachFragment, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onSaveInstanceState, onStart, onStop, onViewStateRestored, postponeEnterTransition, postponeEnterTransition, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
public static final int INPUR_TYPE_NORMAL
public static final int INPUR_TYPE_WORLDMSG
public static final int SHOW_FROM_NORMAL_INPUT
public static final int SHOW_FROM_DRAWING_GAME_ANSWER
public void setHostId(java.lang.String boZhuUid)
public void setShowFansTag(boolean showFansTag)
public void setVideoId(java.lang.String videoId)
public void setDanmakuSwitchListener(MsgInputFragment.DanmakuSwitchListener danmakuSwitchListener)
public void setAdminInputMsgCallBack(MsgInputFragment.AdminInputMsgCallBack adminInputMsgCallBack)
@Nullable public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
onCreateView
在类中 androidx.fragment.app.Fragment
public void onViewCreated(android.view.View view, @Nullable android.os.Bundle savedInstanceState)
onViewCreated
在类中 BaseFra
public void onResume()
onResume
在类中 androidx.fragment.app.Fragment
public void onConfigurationChanged(android.content.res.Configuration newConfig)
onConfigurationChanged
在接口中 android.content.ComponentCallbacks
onConfigurationChanged
在类中 androidx.fragment.app.Fragment
public void setIsBoZhu(boolean isBoZhu)
public void setFatherFrament(ChatFraSdk fragment, CustomConstraintLayout layout, boolean isLive)
public void onClick(android.view.View v)
onClick
在接口中 android.view.View.OnClickListener
public void onDanmakuCheckClick()
public boolean isFansBoardShow()
public void setUIForLand(boolean isLand)
isLand
- 是否横屏public java.lang.String getMessage()
public static java.lang.String removeSpecialChars(java.lang.String str)
public void setOnSendClickListener(android.view.View.OnClickListener onSendClickListener)
public void setOnDanmakuSendClickListener(android.view.View.OnClickListener onDanmakuSendClickListener)
public void setInputType(int inputType)
public void setWorldMsgListener(WorldMsgInputView.WorldMsgListener worldMsgListener)
public void showChatBoard()
public void showFansTagBoard()
public void hideChatBoard()
public void setVisible(int visible)
public void setText(java.lang.String text)
public void setWorldMsgText(java.lang.String text)
public boolean isChatShowing()
public void appendCharsequence(java.lang.CharSequence text)
public boolean isDanmakuEnabled()
public void showDanmu(boolean show)
public void setShowSource(int showSource)
showSource
- public int getShowSource()