public class LiveVideoPlayerFragment extends BaseFra implements com.app.kewlplayer.IKewlPlayerCallback, com.app.kewlplayer.IKewlPlayerLoadingCallback, IConnectInterface, ChatFraSdk.ChatFraCMCallBack, com.app.vcall.VCall.IVCallDelegate, ChatFraSdk.ChatRoomMsgListener, VideoUtil.CommandDelegate, ChatFraSdk.ChatFraBaseCallBack, com.app.kewlplayer.IKewlPlayerBufferingCallback, ChatFraSdk.ChatFraForYouCallback
限定符和类型 | 类和说明 |
---|---|
class |
LiveVideoPlayerFragment.MultiBeamInit |
BaseFra.TopType
androidx.fragment.app.Fragment.InstantiationException, androidx.fragment.app.Fragment.SavedState
VideoUtil.CommandDelegate.Callback
act, DEFAULT_TYPE_FROME, isShow, mBaseHandler, mInitPresenter, mIsCheez, mLastClickTsMs, mStartupController, TYPE_FROME_COIN, TYPE_FROME_FANS, TYPE_FROME_STAR
构造器和说明 |
---|
LiveVideoPlayerFragment() |
限定符和类型 | 方法和说明 |
---|---|
void |
askForHangupVCall() |
void |
beGuardian(GuardStage.ChargeStage chargeStage) |
boolean |
canAcceptVCall() |
boolean |
canShowTreasureboxDialog() |
void |
changePlayerConfig(boolean small) |
void |
changeVideoType(int mQueryType) |
static boolean |
checkPermission(com.app.live.activity.VideoDataInfo info,
android.content.Context context,
boolean needdialog) |
void |
closeClick(boolean isClickClose) |
void |
closeForYou() |
void |
doCommand(VideoUtil.Command cmd,
VideoUtil.CommandDelegate.Callback callback) |
boolean |
enableViewPagerScroll() |
void |
finishStopPlayer() |
AnchorDialogQueryManager |
getAnchorDialogCacheManager() |
android.view.ViewGroup |
getAnchorLoading() |
com.app.vcall.AudienceVcallPlayer |
getAudienceVcallPlayer() |
com.app.user.account.AccountInfo |
getAuthorInfo() |
com.ksy.recordlib.service.core.BeamClient |
getBeamClient() |
LiveVideoPlayerFragment.MultiBeamInit |
getBeamInitData() |
boolean |
getBLive() |
ChatFraSdk |
getChatFragment() |
int |
getComeFrom() |
android.graphics.Bitmap |
getCurrentVideoFrame() |
int |
getDiamondCount() |
boolean |
getDismissState() |
int |
getEndError() |
int |
getFanLevel() |
int |
getGuardType() |
IMStateMachine |
getImStateMachine() |
boolean |
getIsEndState() |
com.kxsimon.video.chat.manager.ILiveContext |
getLiveContextImpl() |
boolean |
getLoadingViewStatus() |
com.app.kewlplayer.KewlPlayerVideoHolder |
getMediaPlayerHolder() |
com.app.view.LowMemImageView |
getmPrepareAnimation() |
java.lang.String |
getMyRewardPrivilege() |
com.im.imlogic.IMNetworkHelper.IMNetworkInfo |
getNetWorkInfo() |
ChestManager.OnMoreActionListener |
getOnMoreActionListener() |
java.lang.Double |
getPalyCurrentTime() |
int |
getPlayerShowHeight() |
int |
getPlayerShowWidth() |
com.app.live.activity.VideoDataInfo |
getPlayerVideoInfo() |
ScrollFrameLayout |
getScrollFrameLayout() |
static android.content.Intent |
getShortVideoIntent(android.content.Context context,
android.content.Intent intent,
com.app.live.activity.VideoDataInfo videoDataInfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
java.lang.String type) |
int |
getShowCategory()
判断是否来自某个页面的子模块,如social页面的pk模块
|
int |
getSource()
埋点kewl_70001和kewl_70002的source
当在直播间上下滑动观看视频时,此值为4。
|
int |
getSource2()
埋点kewl_70001和kewl_70002的source2
其值表示来源页面 如
STEM_FROM_HMOEPAGE
在3.8.65版本开始,android和ios保持一致 |
static android.content.Intent |
getStartIntent(android.content.Intent intent,
java.lang.String vid,
int setmFrom,
boolean maybeOnline) |
static android.content.Intent |
getStartIntent(android.content.Intent intent,
java.lang.String vid,
int setmFrom,
boolean maybeOnline,
java.lang.String type) |
static android.content.Intent |
getStartLiveIntent(android.content.Context context,
android.content.Intent intent,
com.app.live.activity.VideoDataInfo vinfo,
android.graphics.Bitmap bmpCapture,
int stemFrom) |
UpLiveHeartBeatStat |
getUpLiveHeartBeatStat() |
int |
getUserAnchorLevel() |
java.lang.String |
getUserHeadUrl() |
boolean |
getUseVcallPlayer() |
android.view.ViewGroup |
getVCallContainer() |
boolean |
hasNetRequest() |
void |
hideGroupShareFragment() |
void |
hideTopContributionFragment() |
void |
hideWebViewFragment() |
void |
initChatView() |
protected boolean |
isCancelHttpMsgWhenPageDestroy() |
boolean |
isInPlayerPlayIng() |
protected boolean |
isOfficialChannelLive(com.app.live.activity.VideoDataInfo mVideoInfo) |
boolean |
isPaidDialogShowing() |
boolean |
isQueryInfoFinish() |
static boolean |
isRelVcallPlay(com.app.live.activity.VideoDataInfo mVideoInfo) |
boolean |
isShowForYou() |
boolean |
isShowWebViewFragment() |
void |
markQueryInfoFinish() |
void |
notifyVcallUiInitialized() |
void |
onActivityCreated(android.os.Bundle savedInstanceState) |
void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
onAudioMsg(GroupAudioOperMsgContent result) |
void |
onBackPressedFragment() |
void |
onBeforeStartVCall() |
void |
onBufferingEnd() |
void |
onBufferingStart() |
void |
onCome(com.live.immsgmodel.JoinChatroomMsgContent msg) |
void |
onConfigurationChanged(android.content.res.Configuration newConfig) |
void |
onConnect(boolean flag) |
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceSate) |
void |
onDestroy() |
void |
onDestroyView() |
void |
onDetach() |
void |
onEventMainThread(com.app.live.OnPauseVideoEvent event)
关闭后台播放
|
void |
onEventMainThread(VideoPlayerEvent event)
接收视频播放页相关消息
|
void |
onFollowedUser(java.lang.String uid,
boolean isFollowed) |
long |
onGetPlayDelay() |
boolean |
onHDClick(boolean open) |
void |
onIMUpdataBeamInfo(java.lang.String beamInfo,
int vtype,
java.lang.String nineBeamMode,
int maxNum,
boolean isTeamPKStart) |
void |
onJoin(boolean succ) |
void |
onLiveStop(int stopCode,
java.lang.String message,
int from) |
void |
onNextVideoCome(com.app.live.activity.VideoDataInfo videoDataInfo) |
void |
onPause() |
void |
onPlayerEnd() |
void |
onPlayerError(int what,
int extra) |
void |
onPlayerInfo(int what,
int extra) |
void |
onPlayerLoadingShouldShow(boolean bShow) |
void |
onPlayerPlayingTick(long current,
long total) |
void |
onPlayerPrepared() |
void |
onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults) |
void |
onResume() |
void |
onSaveInstanceState(android.os.Bundle outState) |
void |
onStart() |
void |
onStop() |
void |
onUpdateVideoEndKcoin(KCoinInfo kCoinInfo) |
void |
onVCallError(int errorCode,
java.lang.Exception e) |
void |
onVCallHostEnd() |
void |
onVCallHostEndUser(java.lang.String userId) |
void |
onVCallLocalVideoReady() |
boolean |
onVcallShowFollow(java.lang.String uid) |
void |
onVCallStop(com.app.vcall.VCall.StopReason reason) |
void |
onVideoScroll()
上下滑动视频时触发的方法,主要用来清除气泡提示
|
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
void |
pauseVideo() |
int |
playQuality() |
void |
quit() |
void |
releaseVcallPlayer() |
void |
releaseZegoLive() |
void |
removeMaskVcall() |
void |
reportIMStats() |
void |
reportStartWatchView() |
void |
reportWatchLiveDisconnect(int errorCode) |
void |
setAnchorBack() |
void |
setButtomFragmentShowListener() |
void |
setCanScreenClear(boolean b) |
void |
setChatFraForYouCallback(ChatFraSdk.ChatFraForYouCallback mForYouCallback) |
void |
setDimissState(boolean dimissState) |
void |
setIsCanScroll(boolean can)
设置可以上下滑动
|
void |
setKcoin(int diamond) |
void |
setLandPlayerBottom() |
void |
setLiveState(boolean b) |
void |
setNoSound(boolean noSound)
直播是否静音
|
void |
setPlayCache(int ms) |
void |
setPlayerisCanPlayVoice(boolean isCanPlayVoice) |
void |
setProhibirScroll(boolean isCan) |
void |
setShortVideoReportStats(com.app.kewlplayer.KewlPlayerVideoPlayStats stats) |
void |
setShowTime() |
void |
setVideoInfo(com.app.live.activity.VideoDataInfo dataInfo) |
void |
setVideoInfoNineBeamMode(com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode mode) |
void |
showBonusUserFragment(java.lang.String bonusId,
java.lang.String url) |
void |
showForYou() |
void |
showGroupSelectFragment(BaseFra baseFra) |
void |
showTopContributionFragment(BaseFra baseFra) |
void |
showWebViewFragment(BaseFra baseFra) |
static void |
start(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
android.graphics.Bitmap bmpCapture,
int stemFrom) |
static void |
start(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom) |
static void |
start(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
int sex) |
static void |
start(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
int sex,
byte startWatchPage,
byte startWatchSource) |
static void |
start(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
int sex,
byte startWatchPage,
byte startWatchSource,
LiveVideoPlayerActivity.IntentExtraData extra) |
static void |
start(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
java.lang.String countrycode,
int sex) |
void |
startBeamForVcall(com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode nineBeamMode,
com.app.vcall.VCall.IVCallCallback callback) |
static void |
startCheckin(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper wrapper,
CheckInResult checkInResult,
int stemFrom,
byte startWatchSource) |
static void |
startFromGlobal(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
java.lang.String countryCode,
int sex) |
static void |
startFromPK(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
int index,
byte startWatchPage,
byte startWatchSource) |
static void |
startFromTag(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
java.lang.String keyword) |
static void |
startFromTag(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
java.lang.String keyword,
byte startWatchPage,
byte startWatchSource) |
static void |
startFromTopic(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
int topicId) |
static void |
startFromTopic(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
int topicId,
byte startWatchPage,
byte startWatchSource) |
static void |
startPlay(android.content.Context context,
com.app.live.activity.VideoDataInfo vinfo,
android.content.Intent x,
boolean isNeedInitVcall) |
static void |
startShortVideo(android.content.Context context,
android.content.Intent intent,
android.content.Intent previousIntent,
com.app.live.activity.VideoDataInfo videoDataInfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
java.lang.String type,
java.lang.String keyword) |
static void |
startShortVideo(android.content.Context context,
android.content.Intent intent,
android.content.Intent previousIntent,
com.app.live.activity.VideoDataInfo videoDataInfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
java.lang.String type,
java.lang.String keyword,
byte startWatchPage,
byte startWatchSource,
int requestCode) |
static void |
startShortVideo(android.content.Context context,
android.content.Intent intent,
com.app.live.activity.VideoDataInfo videoDataInfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
java.lang.String type) |
static void |
startShortVideo(android.content.Context context,
android.content.Intent intent,
com.app.live.activity.VideoDataInfo videoDataInfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
java.lang.String type,
byte startWatchPage,
byte startWatchSource,
int requestCode) |
static void |
startShortVideo(android.content.Context context,
android.content.Intent intent,
com.app.live.activity.VideoDataInfo videoDataInfo,
VideoListDownloadWrapper downloadWrapper,
android.graphics.Bitmap bmpCapture,
int stemFrom,
java.lang.String type,
java.lang.String keyword) |
void |
stopPlayer() |
void |
switchToEndState(VideoEndInfo endInfo,
int endCode) |
void |
switchVideoType(int type) |
void |
toPlay(boolean needCheckUrl,
java.lang.String videoSrc) |
void |
triggerStartPlayer(com.app.live.activity.VideoDataInfo videoDataInfo) |
void |
triggerStopPlayer() |
boolean |
usingCMIM() |
void |
vcallPlayToIJKPlayer(boolean isNeedStopVcall,
int toIJKErrType) |
finish, generateNetworkLiveData, getDescription, getHttpMsgTag, getInitOnceLoginOrNotRunnable, getInitOnceMustLoginRunnable, getInitRepeatLoginOrNotRunnable, getInitRepeatMustLoginRunnable, getThreadInfo, hideLoading, initPresenter, isAccountLogin, isActivityAlive, 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, onAttach, onAttachFragment, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, 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 java.lang.String EXTRA_VIDEO_INFO
public static final java.lang.String EXTRA_VIDEO_CAPTURE
public static final java.lang.String EXTRA_REPLAY_VIDEO_ID
public static final java.lang.String EXTRA_PLAYER_VIDEO_HOLDER
public static final java.lang.String EXTRA_VCALLPLAYER_VIDEO_HOLDER
public static final java.lang.String EXTRA_PLAYER_VIDEO_AD
public static final java.lang.String EXTRA_TOPIC_ID
public static final java.lang.String EXTRA_CHECKIN_RESULT
public static final java.lang.String EXTRA_KEY_WORD
public static final java.lang.String EXTRA_PLAYER_VIDEO_DOWNLOAD
public static final java.lang.String EXTRA_MAYBE_ONLINE
public static final java.lang.String EXTRA_STEM_FROM
public static final java.lang.String EXTRA_STEM_SEX
public static final java.lang.String EXTRA_START_FLAG
public static final java.lang.String EXTRA_STEM_COUNTRY
public static final java.lang.String EXTRA_VIDEO_FROM
public static final java.lang.String EXTRA_HAS_PREVIOUS
public static final java.lang.String EXTRA_SHORT_VIDEO_MP4_PATH
public static final java.lang.String EXTRA_SHORT_VIDEO_AUTO_PLAY_NEXT
public static final java.lang.String EXTRA_CARD_VIDEO_INDEX
public static final java.lang.String EXTRA_NOTIFICATION_AUDIO_LIVE
public static final java.lang.String EXTRA_PARAM_DATA
public static final int STEM_FROM_NULL
public static final int STEM_FROM_HMOEPAGE
public static final int STEM_FROM_ANCHORPAGE
public static final int STEM_FROM_NOTIFICATION
public static final int STEM_FROM_SLIP
public static final int STEM_FROM_WEB
public static final int STEM_FROM_TAGPAGE
public static final int STEM_FROM_DISCOVER_CATEGORY
public static final int STEM_FROM_BANNER
public static final int STEM_FROM_NEW
public static final int STEM_FROM_FOLLOW
public static final int STEM_FROM_NEARBY
public static final int STEM_FROM_DISCOVER_GUESS
public static final int STEM_FROM_HOT_NEW
public static final int STEM_FROM_LETTER
public static final int STEM_FROM_LIVE_RECOMMEND
public static final int STEM_FROM_GLOBAL
public static final int STEM_FROM_DYNAMIC_NOTICE
public static final int STEM_FROM_GAME_CHANNEL
public static final int STEM_FROM_DYNAMIC_DETAIL
public static final int STEM_FROM_GLOBAL_SELECTION
public static final int STEM_FROM_H5
public static final int STEM_FROM_HOME_SHORT_VIDEO
public static final int STEM_FROM_HOME_GAME
public static final int STEM_FROM_TASK_LIST
public static final int STEM_FROM_BOY_LIST
public static final int STEM_FROM_GIRL_LIST
public static final int STEM_FROM_TALENT_LIST
public static final int STEM_FROM_USER_SHORT_VIDEO
public static final int STEM_FROM_MY_MOMENT_SHORT_VIDEO
public static final int STEM_FROM_PROFILE_SHORT_VIDEO
public static final int STEM_FROM_GLOBAL_THREE
public static final int STEM_FROM_NOTICE_GIFT
public static final int STEM_FROM_FOLLOW_VIDEO
public static final int STEM_FROM_SHORT_VIDEO_TAG
public static final int STEM_FROM_SHORT_VIDEO_RECOMMEND
public static final int STEM_FROM_SHORT_VIDEO_FOLLOW_HEAD
public static final int STEM_FROM_SHORT_VIDEO_ACTIVITY
public static final int STEM_FROM_LEVEL
public static final int STEM_FROM_LEVEL_DETAIL
public static final int STEM_FROM_GIFT_WORLD
public static final int STEM_FROM_PLAYGROUND
public static final int STEM_FROM_SEARCH_PLAY_GROUND
public static final int STEM_FROM_SEARCH_GLOBAL
public static final int STEM_FROM_SEARCH_GAME
public static final int STEM_FROM_SEARCH_HOTNESS
public static final int STEM_FROM_SEARCH_HIGH_BROADCASTER
public static final int STEM_FROM_SEARCH_TOPIC
public static final int STEM_FROM_SEARCH_INTEREST
public static final int STEM_FROM_SEARCH_PAGE
public static final int STEM_FROM_HOT_LIVE_PAGE
public static final int STEM_FROM_INTEREST_PAGE
public static final int STEM_FROM_CATCH_DOLL
public static final int STEM_FROM_SEARCH_TOPIC_GAME
public static final int STEM_FROM_GAME_TOPIC_ACT
public static final int STEM_FROM_FOLLOW_TOPIC_VIDEO
public static final int STEM_FROM_TOPIC_DETAIL_VIDEO_LIST
public static final int STEM_FROM_PK_GAME_LIST
public static final int STEM_FROM_FEATURE_TOPIC_VIDEO
public static final int STEM_FROM_NEW_PROFILE
public static final int STEM_FROM_FOLLOW_OPERATE
public static final int STEM_FROM_NEARBY_PROFILE
public static final int STEM_FROM_SEVEN_VCALL
public static final int STEM_FROM_REPLAY_END_PAGE
public static final int STEM_FROM_LIVE_POPULAR_OR_RISING
public static final int STEM_FROM_SOCIAL_PK_VIDEO_LIST
public static final int STEM_FROM_SOCIAL_BEAM_VIDEO_LIST
public static final int STEM_FROM_SOCIAL_MAIN_PAGE
public static final int STEM_FROM_WORLD_PAGE
public static final int STEM_FROM_WORLD_MSG
public static final int STEM_FROM_HOME_GIRL_LIST
public static final int STEM_FROM_FEATURE_GAME_BANNER
public static final int STEM_FROM_FEATURE_CHECK_IN
public static final int STEM_FROM_AUDIO_LIST
public static final int STEM_FROM_WORLD_FIND_PAGE
public static final int STEM_FROM_IM_RECENT
public static final int STEM_FROM_IM_LIST
public static final int STEM_FROM_WATCH_LIVE_END_SHOW
public static final int STEM_FROM_WATCH_LIVE_END
public static final int STEM_FROM_RECENTLY
public static final int STEM_FROM_MARQUEE
public static final int STEM_FROM_AUTO_CONNECT_BEAM
public static final int STEM_FROM_RECOMMENT_FORT_YOU
public static final int STEM_FROM_HOME_DOUBLE_COLUMN
public static final int REQUEST_CODE_mVideoInfoTO_ANCHORACT
public static final int ASYNC_QUERY_VIDEO_STATE
public static final int DELAY_CLOSE_KCOIN_TIP
public static final int MSG_UPDATE_MEDIA_CONTROLLER
public static final int MSG_UPDATE_PLAYER_INFO
public static final int CM_VIDEO_PLAYER_ACT_FLAG
public static final int QUALITY_HD
public static final int QUALITY_SD
public static final java.lang.String TAG
public static final java.lang.String PAID_TAG
public DirectionalViewPager mContainer
protected boolean isQueryInfoFinish
public boolean mIsAdHaveShow
public static android.content.Intent mPreviousIntent
protected VideoSmallManager.OnVideoClickListener mOnVideoClickListener
public void showForYou()
showForYou
在接口中 ChatFraSdk.ChatFraForYouCallback
public void closeForYou()
closeForYou
在接口中 ChatFraSdk.ChatFraForYouCallback
public boolean isShowForYou()
isShowForYou
在接口中 ChatFraSdk.ChatFraForYouCallback
public com.ksy.recordlib.service.core.BeamClient getBeamClient()
public boolean getUseVcallPlayer()
public com.app.vcall.AudienceVcallPlayer getAudienceVcallPlayer()
public static android.content.Intent getStartLiveIntent(android.content.Context context, android.content.Intent intent, com.app.live.activity.VideoDataInfo vinfo, android.graphics.Bitmap bmpCapture, int stemFrom)
public static void start(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, android.graphics.Bitmap bmpCapture, int stemFrom)
public static void start(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, int sex, byte startWatchPage, byte startWatchSource)
public static void start(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, int sex, byte startWatchPage, byte startWatchSource, LiveVideoPlayerActivity.IntentExtraData extra)
public static void startPlay(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, android.content.Intent x, boolean isNeedInitVcall)
public static void start(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, int sex)
public static void startCheckin(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper wrapper, CheckInResult checkInResult, int stemFrom, byte startWatchSource)
public static void start(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, java.lang.String countrycode, int sex)
public static void startFromTopic(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, int topicId, byte startWatchPage, byte startWatchSource)
public static void startFromPK(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, int index, byte startWatchPage, byte startWatchSource)
public static void startFromTopic(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, int topicId)
public static void startFromTag(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, java.lang.String keyword)
public static void startFromTag(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, java.lang.String keyword, byte startWatchPage, byte startWatchSource)
public static void start(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom)
public static void startFromGlobal(android.content.Context context, com.app.live.activity.VideoDataInfo vinfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, java.lang.String countryCode, int sex)
public static android.content.Intent getStartIntent(android.content.Intent intent, java.lang.String vid, int setmFrom, boolean maybeOnline)
public static android.content.Intent getStartIntent(android.content.Intent intent, java.lang.String vid, int setmFrom, boolean maybeOnline, java.lang.String type)
public static void startShortVideo(android.content.Context context, android.content.Intent intent, com.app.live.activity.VideoDataInfo videoDataInfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, java.lang.String type, byte startWatchPage, byte startWatchSource, int requestCode)
public static void startShortVideo(android.content.Context context, android.content.Intent intent, com.app.live.activity.VideoDataInfo videoDataInfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, java.lang.String type)
public static void startShortVideo(android.content.Context context, android.content.Intent intent, com.app.live.activity.VideoDataInfo videoDataInfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, java.lang.String type, java.lang.String keyword)
public static void startShortVideo(android.content.Context context, android.content.Intent intent, android.content.Intent previousIntent, com.app.live.activity.VideoDataInfo videoDataInfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, java.lang.String type, java.lang.String keyword, byte startWatchPage, byte startWatchSource, int requestCode)
intent
- 普通界面跳转传值用previousIntent
- 直播间->AnchorDialog->短视频public static void startShortVideo(android.content.Context context, android.content.Intent intent, android.content.Intent previousIntent, com.app.live.activity.VideoDataInfo videoDataInfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, java.lang.String type, java.lang.String keyword)
intent
- 普通界面跳转传值用previousIntent
- 直播间->AnchorDialog->短视频public static android.content.Intent getShortVideoIntent(android.content.Context context, android.content.Intent intent, com.app.live.activity.VideoDataInfo videoDataInfo, VideoListDownloadWrapper downloadWrapper, android.graphics.Bitmap bmpCapture, int stemFrom, java.lang.String type)
public void setVideoInfo(com.app.live.activity.VideoDataInfo dataInfo)
public void setChatFraForYouCallback(ChatFraSdk.ChatFraForYouCallback mForYouCallback)
public void setDimissState(boolean dimissState)
public boolean getDismissState()
public ScrollFrameLayout getScrollFrameLayout()
public void onActivityCreated(android.os.Bundle savedInstanceState)
onActivityCreated
在类中 androidx.fragment.app.Fragment
public void onCreate(@Nullable android.os.Bundle savedInstanceState)
public void onViewCreated(android.view.View view, @Nullable android.os.Bundle savedInstanceState)
onViewCreated
在类中 BaseFra
public void onDestroyView()
onDestroyView
在类中 androidx.fragment.app.Fragment
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceSate)
onCreateView
在类中 androidx.fragment.app.Fragment
public void onCome(com.live.immsgmodel.JoinChatroomMsgContent msg)
onCome
在接口中 ChatFraSdk.ChatRoomMsgListener
public void switchVideoType(int type)
public com.app.view.LowMemImageView getmPrepareAnimation()
public void triggerStartPlayer(com.app.live.activity.VideoDataInfo videoDataInfo)
public void onVideoScroll()
public void triggerStopPlayer()
public void setShowTime()
public void changeVideoType(int mQueryType)
public LiveVideoPlayerFragment.MultiBeamInit getBeamInitData()
public android.view.ViewGroup getAnchorLoading()
public void removeMaskVcall()
public static boolean isRelVcallPlay(com.app.live.activity.VideoDataInfo mVideoInfo)
public void releaseZegoLive()
public void releaseVcallPlayer()
protected boolean isOfficialChannelLive(com.app.live.activity.VideoDataInfo mVideoInfo)
public void onConfigurationChanged(android.content.res.Configuration newConfig)
onConfigurationChanged
在接口中 android.content.ComponentCallbacks
onConfigurationChanged
在类中 androidx.fragment.app.Fragment
public void setLandPlayerBottom()
public void showTopContributionFragment(BaseFra baseFra)
public void hideTopContributionFragment()
public void showWebViewFragment(BaseFra baseFra)
public void hideWebViewFragment()
public boolean isShowWebViewFragment()
public void setLiveState(boolean b)
public void setCanScreenClear(boolean b)
public void showBonusUserFragment(java.lang.String bonusId, java.lang.String url)
public void showGroupSelectFragment(BaseFra baseFra)
public void setButtomFragmentShowListener()
public void setProhibirScroll(boolean isCan)
public void hideGroupShareFragment()
public com.app.live.activity.VideoDataInfo getPlayerVideoInfo()
public java.lang.String getUserHeadUrl()
public int getUserAnchorLevel()
public IMStateMachine getImStateMachine()
public boolean canShowTreasureboxDialog()
public void toPlay(boolean needCheckUrl, java.lang.String videoSrc)
public void setAnchorBack()
public void initChatView()
public java.lang.String getMyRewardPrivilege()
public int getGuardType()
getGuardType
在接口中 ChatFraSdk.ChatFraBaseCallBack
public int getFanLevel()
getFanLevel
在接口中 ChatFraSdk.ChatFraBaseCallBack
public void beGuardian(GuardStage.ChargeStage chargeStage)
beGuardian
在接口中 ChatFraSdk.ChatFraBaseCallBack
public com.im.imlogic.IMNetworkHelper.IMNetworkInfo getNetWorkInfo()
getNetWorkInfo
在接口中 ChatFraSdk.ChatFraBaseCallBack
public ChestManager.OnMoreActionListener getOnMoreActionListener()
public AnchorDialogQueryManager getAnchorDialogCacheManager()
public void onPause()
onPause
在类中 androidx.fragment.app.Fragment
public void onSaveInstanceState(android.os.Bundle outState)
onSaveInstanceState
在类中 androidx.fragment.app.Fragment
public void onStop()
onStop
在类中 androidx.fragment.app.Fragment
public boolean isInPlayerPlayIng()
public void onStart()
onStart
在类中 androidx.fragment.app.Fragment
public void onDetach()
onDetach
在类中 androidx.fragment.app.Fragment
public void setShortVideoReportStats(com.app.kewlplayer.KewlPlayerVideoPlayStats stats)
public void finishStopPlayer()
public boolean getLoadingViewStatus()
public void onConnect(boolean flag)
onConnect
在接口中 IConnectInterface
public void onJoin(boolean succ)
onJoin
在接口中 IConnectInterface
public void onLiveStop(int stopCode, java.lang.String message, int from)
onLiveStop
在接口中 IConnectInterface
public void onUpdateVideoEndKcoin(KCoinInfo kCoinInfo)
onUpdateVideoEndKcoin
在接口中 IConnectInterface
public android.graphics.Bitmap getCurrentVideoFrame()
public boolean getIsEndState()
public boolean getBLive()
public int getEndError()
public void switchToEndState(VideoEndInfo endInfo, int endCode)
public void onBackPressedFragment()
public void quit()
public void closeClick(boolean isClickClose)
closeClick
在接口中 ChatFraSdk.ChatFraCMCallBack
public void setKcoin(int diamond)
setKcoin
在接口中 ChatFraSdk.ChatFraCMCallBack
public int getDiamondCount()
public void onPlayerPrepared()
onPlayerPrepared
在接口中 com.app.kewlplayer.IKewlPlayerCallback
public void onPlayerEnd()
onPlayerEnd
在接口中 com.app.kewlplayer.IKewlPlayerCallback
public void onPlayerError(int what, int extra)
onPlayerError
在接口中 com.app.kewlplayer.IKewlPlayerCallback
public void onPlayerInfo(int what, int extra)
onPlayerInfo
在接口中 com.app.kewlplayer.IKewlPlayerCallback
public void onPlayerPlayingTick(long current, long total)
onPlayerPlayingTick
在接口中 com.app.kewlplayer.IKewlPlayerCallback
public void onPlayerLoadingShouldShow(boolean bShow)
onPlayerLoadingShouldShow
在接口中 com.app.kewlplayer.IKewlPlayerLoadingCallback
public void stopPlayer()
public com.app.user.account.AccountInfo getAuthorInfo()
public void onNextVideoCome(com.app.live.activity.VideoDataInfo videoDataInfo)
onNextVideoCome
在接口中 ChatFraSdk.ChatFraCMCallBack
public boolean onHDClick(boolean open)
onHDClick
在接口中 ChatFraSdk.ChatFraCMCallBack
public int playQuality()
playQuality
在接口中 ChatFraSdk.ChatFraCMCallBack
public int getPlayerShowHeight()
public int getPlayerShowWidth()
public void notifyVcallUiInitialized()
public void onVCallHostEnd()
onVCallHostEnd
在接口中 IConnectInterface
public void onVCallHostEndUser(java.lang.String userId)
onVCallHostEndUser
在接口中 IConnectInterface
public boolean onVcallShowFollow(java.lang.String uid)
onVcallShowFollow
在接口中 IConnectInterface
public void onIMUpdataBeamInfo(java.lang.String beamInfo, int vtype, java.lang.String nineBeamMode, int maxNum, boolean isTeamPKStart)
onIMUpdataBeamInfo
在接口中 IConnectInterface
public void onAudioMsg(GroupAudioOperMsgContent result)
onAudioMsg
在接口中 IConnectInterface
public void onFollowedUser(java.lang.String uid, boolean isFollowed)
onFollowedUser
在接口中 IConnectInterface
public void onActivityResult(int requestCode, int resultCode, android.content.Intent data)
onActivityResult
在类中 androidx.fragment.app.Fragment
public android.view.ViewGroup getVCallContainer()
getVCallContainer
在接口中 com.app.vcall.VCall.IVCallDelegate
public boolean canAcceptVCall()
canAcceptVCall
在接口中 com.app.vcall.VCall.IVCallDelegate
public void onBeforeStartVCall()
onBeforeStartVCall
在接口中 com.app.vcall.VCall.IVCallDelegate
public void onVCallLocalVideoReady()
onVCallLocalVideoReady
在接口中 com.app.vcall.VCall.IVCallDelegate
public void onVCallError(int errorCode, java.lang.Exception e)
onVCallError
在接口中 com.app.vcall.VCall.IVCallDelegate
public void onVCallStop(com.app.vcall.VCall.StopReason reason)
onVCallStop
在接口中 com.app.vcall.VCall.IVCallDelegate
public long onGetPlayDelay()
onGetPlayDelay
在接口中 com.app.vcall.VCall.IVCallDelegate
public void askForHangupVCall()
public boolean enableViewPagerScroll()
public void reportIMStats()
public UpLiveHeartBeatStat getUpLiveHeartBeatStat()
public void startBeamForVcall(com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode nineBeamMode, com.app.vcall.VCall.IVCallCallback callback)
public void doCommand(VideoUtil.Command cmd, VideoUtil.CommandDelegate.Callback callback)
doCommand
在接口中 VideoUtil.CommandDelegate
public void onResume()
onResume
在类中 androidx.fragment.app.Fragment
public boolean isPaidDialogShowing()
public com.app.kewlplayer.KewlPlayerVideoHolder getMediaPlayerHolder()
public int getSource()
STEM_FROM_HMOEPAGE
public int getSource2()
STEM_FROM_HMOEPAGE
在3.8.65版本开始,android和ios保持一致public int getShowCategory()
public void onRequestPermissionsResult(int requestCode, @NonNull java.lang.String[] permissions, @NonNull int[] grantResults)
onRequestPermissionsResult
在类中 androidx.fragment.app.Fragment
public void pauseVideo()
public ChatFraSdk getChatFragment()
public void setNoSound(boolean noSound)
noSound
- public int getComeFrom()
public void setPlayCache(int ms)
public java.lang.Double getPalyCurrentTime()
public com.kxsimon.video.chat.manager.ILiveContext getLiveContextImpl()
public void changePlayerConfig(boolean small)
public boolean hasNetRequest()
hasNetRequest
在接口中 com.app.util.IStartup
hasNetRequest
在类中 BaseFra
public void reportStartWatchView()
public void setPlayerisCanPlayVoice(boolean isCanPlayVoice)
protected boolean isCancelHttpMsgWhenPageDestroy()
public void reportWatchLiveDisconnect(int errorCode)
public void onBufferingStart()
onBufferingStart
在接口中 com.app.kewlplayer.IKewlPlayerBufferingCallback
public void onBufferingEnd()
onBufferingEnd
在接口中 com.app.kewlplayer.IKewlPlayerBufferingCallback
public void markQueryInfoFinish()
public boolean isQueryInfoFinish()
public void vcallPlayToIJKPlayer(boolean isNeedStopVcall, int toIJKErrType)
public boolean usingCMIM()
public void setVideoInfoNineBeamMode(com.app.vcall.dimensutils.Beam9DimensUtils.NineBeamMode mode)
public void onEventMainThread(VideoPlayerEvent event)
public void onEventMainThread(com.app.live.OnPauseVideoEvent event)
event
- public void setIsCanScroll(boolean can)
can
- public static boolean checkPermission(com.app.live.activity.VideoDataInfo info, android.content.Context context, boolean needdialog)