public class UpLivePrepareFragment extends PreShareBaseFragment implements org.hybridsquad.android.library.CropHandler, BaseShareModule.IShareResult, UploadAvatarPresenter.OnUpdateAvatarListener, android.view.View.OnClickListener, StartUpLivePayLayout.OnFinishListener
限定符和类型 | 类和说明 |
---|---|
static interface |
UpLivePrepareFragment.TakePhotoListener |
SnsBaseFragment.ISNSAskPublishCallback, SnsBaseFragment.ISNSShareDirectCallback
BaseFra.TopType
限定符和类型 | 字段和说明 |
---|---|
protected H5Dialog |
h5Dialog |
protected boolean |
isGameFragment |
protected boolean |
isShowInput |
static int |
LIVE_TIME_PROGRESS_MAX |
protected com.app.view.AutoRtlImageView |
mBackView |
protected android.view.View |
mBeautyIcon |
protected android.view.View |
mBottomRoot |
protected android.view.View |
mClose |
protected int |
mCurPage |
protected RoundRectImageView |
mEditCoverImg |
protected android.widget.EditText |
mEditLiveTitle |
protected FlowTagLayout |
mFlowView |
protected android.widget.TextView |
mGameTips |
protected int |
mGscreen |
protected int |
mGtype |
protected android.os.Handler |
mHandler |
protected boolean |
mIsPcLive |
protected boolean |
mIsSelected |
protected android.view.ViewGroup |
mLayoutPrepareLive |
protected android.widget.ImageView |
mLocationIcon |
protected android.location.Location |
mLocationLast |
protected UpLiveActivity |
mParentAct |
protected android.view.View |
mPcTipRootView |
protected UploadAvatarPresenter |
mPresenter |
protected android.view.ViewGroup |
mRootView |
protected android.view.View |
mShareIconsLayout |
protected android.widget.LinearLayout |
mStartLin |
protected android.widget.TextView |
mTopicArrow |
protected java.lang.String |
mTopicId |
protected android.view.View |
mTopicRootView |
protected android.widget.TextView |
mTopicSelect |
protected android.widget.TextView |
mTopicTitle |
protected java.lang.String |
mTopicValue |
protected android.widget.TextView |
mTxtStartLive |
protected java.lang.String |
mVideoId |
protected boolean |
mViewCreated |
protected RelativeLayoutWrapper |
mViewSizeChange |
protected int |
mVtype |
protected static int |
PAGE_NULL |
protected static int |
PAGE_PC_SELECT |
protected static int |
PAGE_SHARE |
protected static int |
PAGE_TAG |
protected SevenLiveReport |
sevenLiveReport |
static java.lang.String[] |
THIRD_LOGIN_DOMAIN
封面可用的條件是不為空,且不是第三方的頭像
|
protected int |
USE_GAME_SHOT |
mClickedShare, mClickListener, mShareData, mShareDataList, mShareIconID, mShareIconView, mShareMgr, NO_DEFAULT_VALUE, shareIconId, shareIndex, tmpVideoInfo
SNS_DIRECT_TYPE_FACEBOOK, SNS_DIRECT_TYPE_TWITTER
act, DEFAULT_TYPE_FROME, isShow, mBaseHandler, mInitPresenter, mIsCheez, mLastClickTsMs, mStartupController, TYPE_FROME_COIN, TYPE_FROME_FANS, TYPE_FROME_STAR
构造器和说明 |
---|
UpLivePrepareFragment() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
changeCoverLayout(boolean isKeyBoardShow) |
protected android.view.View |
findViewById(int id) |
java.lang.String |
getAddress() |
android.app.Activity |
getCropContext() |
org.hybridsquad.android.library.CropParams |
getCropParams() |
boolean |
getIsSelected() |
protected int |
getLayout() |
protected java.lang.String |
getLiveCoverUrl()
获取可用的封面url,优先取cover字段,如cover为空则取face字段
|
android.widget.EditText |
getmEditLiveTitle() |
android.location.Location |
getmLocationLast() |
protected int |
getShareKid(int type) |
int |
getSourceFrom() |
java.lang.String |
getTags() |
com.app.live.activity.VideoDataInfo |
getVideoInfo() |
protected int |
getVidType() |
void |
handleIntent(android.content.Intent intent,
int requestCode) |
protected void |
handleLocation() |
void |
hideStandardKeyboard() |
protected void |
initCustomView()
初始化自己的view
|
protected void |
initFlowTopic() |
protected void |
initLocation() |
protected boolean |
isAudioLive() |
protected boolean |
isAudioVCall() |
protected boolean |
isGameLive() |
boolean |
isLiveCoverUseful() |
void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
onCancel() |
void |
onClick(android.view.View v) |
void |
onCompressed(android.net.Uri uri) |
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroy() |
void |
onDestroyView() |
protected void |
onEditCoverClick() |
void |
onFailed(java.lang.String message) |
void |
onFinish() |
protected void |
onLiveModeChanged() |
void |
onPause() |
void |
onPhotoCropped(android.net.Uri uri) |
void |
onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults) |
void |
onResume() |
void |
onShareSuccess(int type) |
protected void |
onShowBottomButton() |
protected void |
onStartLiveClicked() |
void |
onStop() |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
void |
onWindowFocusChanged(boolean hasFocus) |
boolean |
realBack()
是否真的要退出准备页面
|
void |
removeSelf() |
protected void |
reportClick(int pagebutton)
kewl_livehome_b:1388 data:byte uptime2:int pagebutton:byte userid2:string level:string liveid2:string
pagebutton 1=展示 2=普通直播点击 3=联合直播点击 4=开始直播
|
protected void |
requestLocationPermission() |
protected void |
requestVideoTopic(boolean isAudio) |
protected void |
resetIconState(int exceptSourceId) |
protected void |
sensorsReportBroadcastStart(int act) |
void |
setCurrentMatchmaker(boolean isCurrentMatchmaker) |
void |
setLiveStarPop(int gameStage) |
protected void |
setPage(int page) |
void |
setPrivateType(int isprivate)
开播权限,0:普通 1:付费直播
|
void |
setSource(int source) |
void |
setTags(java.util.ArrayList<java.lang.String> tags) |
protected void |
setTitleText(java.lang.String titleText) |
void |
setTopic(java.lang.String topicId,
java.lang.String topicValue) |
protected void |
setTopicArrowText() |
void |
setTopVisibility(boolean isShow) |
void |
setUpliveUrl(java.lang.String url) |
void |
setVideoId(java.lang.String videoId) |
void |
setVideoInfo(com.app.live.activity.VideoDataInfo videoDataInfo) |
void |
setVType(int vType,
BoostUserStartBroadcastOption lastStartBroadcastOption) |
void |
share() |
void |
show(boolean b) |
protected void |
showH5FullScreen(java.lang.String url,
boolean isClick) |
void |
showLoading(boolean show) |
protected void |
showShareAreaAnim(android.view.View rootView) |
void |
showStandardKeyboard() |
protected void |
showUnionLivePopup() |
void |
startUploadAvatarAndCover() |
protected void |
switchAudioLive() |
protected void |
switchToGameLive() |
void |
switchToLive() |
protected void |
switchToMatchmakerLive()
切换到红娘模式
|
protected void |
switchToMultiLive() |
protected void |
switchToNormalLive() |
protected void |
switchToPaidLive() |
protected void |
switchToTopicPage() |
protected void |
updateLiveBtnText(int exceptSourceId) |
void |
uploadAvatarAndCoverResult(int result,
java.lang.Object objParam) |
allowToWeChat, initialShareData, initShareView, onResult, showShareTaskReward, unregisterWeChat
finish, generateNetworkLiveData, getDescription, getHttpMsgTag, getInitOnceLoginOrNotRunnable, getInitOnceMustLoginRunnable, getInitRepeatLoginOrNotRunnable, getInitRepeatMustLoginRunnable, getThreadInfo, hasNetRequest, hideLoading, initPresenter, isAccountLogin, isActivityAlive, isCancelHttpMsgWhenPageDestroy, isFinish2, isShow, isShowVipBanner, isTwooProduct, isViewTokenValid, isVisitorMode, onAttach, 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, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onSaveInstanceState, onStart, 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
onResult
protected H5Dialog h5Dialog
protected android.view.ViewGroup mRootView
protected android.view.ViewGroup mLayoutPrepareLive
protected android.widget.TextView mTxtStartLive
protected android.widget.LinearLayout mStartLin
protected android.widget.EditText mEditLiveTitle
protected UpLiveActivity mParentAct
protected RelativeLayoutWrapper mViewSizeChange
protected android.view.View mShareIconsLayout
protected android.view.View mClose
protected RoundRectImageView mEditCoverImg
protected java.lang.String mVideoId
protected boolean isShowInput
protected static final int PAGE_TAG
protected static final int PAGE_SHARE
protected static final int PAGE_NULL
protected static final int PAGE_PC_SELECT
protected int mCurPage
protected android.widget.ImageView mLocationIcon
protected boolean mIsSelected
protected android.location.Location mLocationLast
protected android.view.View mTopicRootView
protected android.widget.TextView mTopicArrow
protected FlowTagLayout mFlowView
protected com.app.view.AutoRtlImageView mBackView
protected android.widget.TextView mTopicTitle
protected android.widget.TextView mTopicSelect
protected java.lang.String mTopicId
protected java.lang.String mTopicValue
protected int mGscreen
protected int mGtype
protected android.view.View mPcTipRootView
protected boolean mIsPcLive
protected boolean isGameFragment
protected boolean mViewCreated
protected UploadAvatarPresenter mPresenter
protected int mVtype
protected android.view.View mBeautyIcon
protected android.view.View mBottomRoot
protected android.widget.TextView mGameTips
protected SevenLiveReport sevenLiveReport
public static final int LIVE_TIME_PROGRESS_MAX
protected final int USE_GAME_SHOT
protected android.os.Handler mHandler
public static final java.lang.String[] THIRD_LOGIN_DOMAIN
public void onFinish()
public android.widget.EditText getmEditLiveTitle()
public void setVideoId(java.lang.String videoId)
public void setTags(java.util.ArrayList<java.lang.String> tags)
public void setSource(int source)
public void setVType(int vType, BoostUserStartBroadcastOption lastStartBroadcastOption)
public void setUpliveUrl(java.lang.String url)
public void setCurrentMatchmaker(boolean isCurrentMatchmaker)
public java.lang.String getTags()
public void onCreate(@Nullable android.os.Bundle savedInstanceState)
onCreate
在类中 PreShareBaseFragment
protected void requestVideoTopic(boolean isAudio)
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
protected void showH5FullScreen(java.lang.String url, boolean isClick)
protected void initCustomView()
protected int getLayout()
public void onResume()
onResume
在类中 PreShareBaseFragment
protected void switchToNormalLive()
protected void switchToGameLive()
protected void switchAudioLive()
protected void switchToPaidLive()
protected void switchToMultiLive()
protected void switchToMatchmakerLive()
public void onClick(android.view.View v)
onClick
在接口中 android.view.View.OnClickListener
protected android.view.View findViewById(int id)
protected void showShareAreaAnim(android.view.View rootView)
protected void setTopicArrowText()
protected boolean isGameLive()
protected void initFlowTopic()
protected void setTitleText(java.lang.String titleText)
public void showStandardKeyboard()
public void hideStandardKeyboard()
public void onPause()
onPause
在类中 androidx.fragment.app.Fragment
protected void resetIconState(int exceptSourceId)
resetIconState
在类中 PreShareBaseFragment
protected void updateLiveBtnText(int exceptSourceId)
protected void changeCoverLayout(boolean isKeyBoardShow)
protected void onStartLiveClicked()
protected void switchToTopicPage()
public void switchToLive()
public void show(boolean b)
public void removeSelf()
public void onStop()
onStop
在类中 androidx.fragment.app.Fragment
public void onDestroyView()
onDestroyView
在类中 androidx.fragment.app.Fragment
public void onDestroy()
onDestroy
在类中 PreShareBaseFragment
public void setVideoInfo(com.app.live.activity.VideoDataInfo videoDataInfo)
public com.app.live.activity.VideoDataInfo getVideoInfo()
getVideoInfo
在类中 PreShareBaseFragment
public void onShareSuccess(int type)
onShareSuccess
在类中 PreShareBaseFragment
protected int getShareKid(int type)
public void showLoading(boolean show)
showLoading
在类中 PreShareBaseFragment
protected void onEditCoverClick()
protected void initLocation()
protected void requestLocationPermission()
public void onRequestPermissionsResult(int requestCode, @NonNull java.lang.String[] permissions, @NonNull int[] grantResults)
onRequestPermissionsResult
在类中 androidx.fragment.app.Fragment
protected java.lang.String getLiveCoverUrl()
protected void handleLocation()
public void onPhotoCropped(android.net.Uri uri)
onPhotoCropped
在接口中 org.hybridsquad.android.library.CropHandler
public void onCompressed(android.net.Uri uri)
onCompressed
在接口中 org.hybridsquad.android.library.CropHandler
protected void sensorsReportBroadcastStart(int act)
public void onCancel()
onCancel
在接口中 org.hybridsquad.android.library.CropHandler
public void onFailed(java.lang.String message)
onFailed
在接口中 org.hybridsquad.android.library.CropHandler
public void handleIntent(android.content.Intent intent, int requestCode)
handleIntent
在接口中 org.hybridsquad.android.library.CropHandler
public org.hybridsquad.android.library.CropParams getCropParams()
getCropParams
在接口中 org.hybridsquad.android.library.CropHandler
public android.app.Activity getCropContext()
getCropContext
在接口中 org.hybridsquad.android.library.CropHandler
public void onActivityResult(int requestCode, int resultCode, android.content.Intent data)
onActivityResult
在类中 SnsBaseFragment
public int getSourceFrom()
getSourceFrom
在类中 PreShareBaseFragment
public boolean isLiveCoverUseful()
public boolean realBack()
protected boolean isAudioVCall()
protected boolean isAudioLive()
public void share()
protected int getVidType()
public android.location.Location getmLocationLast()
public java.lang.String getAddress()
public boolean getIsSelected()
public void setTopVisibility(boolean isShow)
protected void setPage(int page)
public void startUploadAvatarAndCover()
public void uploadAvatarAndCoverResult(int result, java.lang.Object objParam)
public void onWindowFocusChanged(boolean hasFocus)
public void setTopic(java.lang.String topicId, java.lang.String topicValue)
protected void onShowBottomButton()
protected void onLiveModeChanged()
public void setPrivateType(int isprivate)
isprivate
- protected void reportClick(int pagebutton)
pagebutton
- protected void showUnionLivePopup()
public void setLiveStarPop(int gameStage)