public static interface FlavorUtils.FlavorDelegate
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
SUFFIX_FILE_PROVIDER |
限定符和类型 | 方法和说明 |
---|---|
boolean |
canShowBeauty(android.content.Context context)
是否开启美颜功能
|
void |
checkFromDeepLink(android.app.Activity context,
FaceBookDeepLinkData.FaceBookDeepLinkCallBack faceBookDeepLinkCallBack)
FaceBook的DEEPLINK
|
com.ksy.recordlib.service.model.processor.CommonIMLive |
createCMBeanLive(android.content.Context context,
java.lang.String uid,
java.lang.String roomId,
int roomType,
boolean isHost,
int supportLine,
boolean isIJKDecode,
boolean isAudioOnly,
int ispvt)
创建CMRtc直播
|
com.app.show.pages.photo.camera.face.IFaceDetect |
createFaceDetect(android.content.Context context,
sensetime.senseme.com.effects.display.ChangePreviewSizeListener listener)
创建人脸识别
|
IHuaWeiCameraManager |
createHuaweiCameraManager(android.content.Context context,
IHuaWeiCameraManager.ICallBack callBack)
创建huawei摄像头管理器
|
com.app.lmshop.config.LMShopConfigManager |
createLMShopConfig(android.content.Context context,
com.app.lmshop.interfaces.LMShopInterface lmShopInterface)
创建电商
|
OFDelegate |
createOFAndroid(android.app.Activity activity,
android.view.ViewGroup rootView,
java.lang.String startSceneName,
int rate,
int contentWidth,
int contentHeight)
创建 OFAndroid
|
com.ksy.recordlib.service.model.processor.CommonIMLive |
createQavLive(java.lang.String defRoleName,
android.content.Context context,
java.lang.String uid,
int roomId,
int roomType,
java.lang.String vid,
boolean isHost,
int supportLine,
boolean isNeedReCon)
创建腾讯直播
|
com.ksy.recordlib.service.model.processor.CommonIMLive |
createZegoLive(android.content.Context context,
java.lang.String uid,
java.lang.String roomId,
int roomType,
boolean isHost,
int supportLine,
boolean isIJKDecode,
int ispvt)
创建即构直播
|
void |
directFbShareVideo(android.content.Context context,
android.net.Uri videoUri,
androidx.fragment.app.Fragment fragment,
com.app.live.activity.VideoDataInfo mShareVideo,
IShareDelegate.FBCallback fbCallback,
java.lang.String mShareTitle,
java.lang.String mShareText)
FaceBook的视频
|
void |
directShareFB(android.content.Context context,
BaseShareModule.DirectShareData data,
androidx.fragment.app.Fragment fragment,
com.app.live.activity.VideoDataInfo shareVideo,
IShareDelegate.FBCallback fbCallback,
int shareMode,
boolean isFromQRPageShare)
FaceBook的分享图片
|
void |
faceBookAuthorize(android.app.Activity activity,
FaceBookAuthorizeCallBack faceBookAuthorizeCallBack)
FaceBook授权
|
void |
faceBookreport(java.lang.String trackEventName,
java.util.Map<java.lang.String,java.lang.Object> trackMap,
android.os.Bundle bundle)
FaceBook上报
|
java.lang.String |
getFileProvider()
获取 FileProvider
|
java.lang.String |
getProfileId(boolean doProfile)
Tmx 作用户画像 多包都风控,暂时不需要区分
|
void |
initBeamSdk(android.content.Context context)
自研连麦需要在冷启的时候initSdk,支持自研的app需要实现这个方法
|
void |
initFaceBook(android.content.Context context)
初始化FaceBook
|
void |
initFaceDetect(android.content.Context context)
人脸识别初始化
|
void |
initTmx(android.content.Context context)
初始化 Tmx,多包都风控,暂时不需要区分
|
void |
loadGameLib()
加载游戏引擎
|
BaseFra |
newTopContributionFragmentNewInstance(java.lang.String userId,
java.lang.String userName,
java.lang.String url,
int fromeType,
boolean isVcall)
获取TopContributionFragmentNew的实例
|
void |
preLoadFaceDetectLicense(android.content.Context context)
拉取license耗时,提前加载license
|
void |
setOFAppDataDir(java.lang.String path)
设置 of 数据路径
|
void |
shareOnActivityResult(int requestCode,
int resultCode,
android.content.Intent data)
FaceBook分享后的回调
|
static final java.lang.String SUFFIX_FILE_PROVIDER
void initBeamSdk(android.content.Context context)
context
- com.ksy.recordlib.service.model.processor.CommonIMLive createQavLive(java.lang.String defRoleName, android.content.Context context, java.lang.String uid, int roomId, int roomType, java.lang.String vid, boolean isHost, int supportLine, boolean isNeedReCon)
defRoleName
- context
- uid
- roomId
- roomType
- vid
- isHost
- supportLine
- isNeedReCon
- com.ksy.recordlib.service.model.processor.CommonIMLive createZegoLive(android.content.Context context, java.lang.String uid, java.lang.String roomId, int roomType, boolean isHost, int supportLine, boolean isIJKDecode, int ispvt)
context
- uid
- roomId
- roomType
- isHost
- supportLine
- com.ksy.recordlib.service.model.processor.CommonIMLive createCMBeanLive(android.content.Context context, java.lang.String uid, java.lang.String roomId, int roomType, boolean isHost, int supportLine, boolean isIJKDecode, boolean isAudioOnly, int ispvt)
context
- uid
- roomId
- roomType
- isHost
- supportLine
- isIJKDecode
- isAudioOnly
- IHuaWeiCameraManager createHuaweiCameraManager(android.content.Context context, IHuaWeiCameraManager.ICallBack callBack)
context
- callBack
- void initFaceDetect(android.content.Context context)
context
- void preLoadFaceDetectLicense(android.content.Context context)
context
- com.app.show.pages.photo.camera.face.IFaceDetect createFaceDetect(android.content.Context context, sensetime.senseme.com.effects.display.ChangePreviewSizeListener listener)
context
- listener
- boolean canShowBeauty(android.content.Context context)
context
- void initTmx(android.content.Context context)
context
- java.lang.String getProfileId(boolean doProfile)
doProfile
- void loadGameLib()
OFDelegate createOFAndroid(android.app.Activity activity, android.view.ViewGroup rootView, java.lang.String startSceneName, int rate, int contentWidth, int contentHeight)
activity
- rootView
- startSceneName
- rate
- contentWidth
- contentHeight
- void setOFAppDataDir(java.lang.String path)
path
- java.lang.String getFileProvider()
com.app.lmshop.config.LMShopConfigManager createLMShopConfig(android.content.Context context, com.app.lmshop.interfaces.LMShopInterface lmShopInterface)
context
- void initFaceBook(android.content.Context context)
void checkFromDeepLink(android.app.Activity context, FaceBookDeepLinkData.FaceBookDeepLinkCallBack faceBookDeepLinkCallBack)
void directShareFB(android.content.Context context, BaseShareModule.DirectShareData data, androidx.fragment.app.Fragment fragment, com.app.live.activity.VideoDataInfo shareVideo, IShareDelegate.FBCallback fbCallback, int shareMode, boolean isFromQRPageShare)
void directFbShareVideo(android.content.Context context, android.net.Uri videoUri, androidx.fragment.app.Fragment fragment, com.app.live.activity.VideoDataInfo mShareVideo, IShareDelegate.FBCallback fbCallback, java.lang.String mShareTitle, java.lang.String mShareText)
void shareOnActivityResult(int requestCode, int resultCode, android.content.Intent data)
void faceBookreport(java.lang.String trackEventName, java.util.Map<java.lang.String,java.lang.Object> trackMap, android.os.Bundle bundle)
void faceBookAuthorize(android.app.Activity activity, FaceBookAuthorizeCallBack faceBookAuthorizeCallBack)
BaseFra newTopContributionFragmentNewInstance(java.lang.String userId, java.lang.String userName, java.lang.String url, int fromeType, boolean isVcall)