public interface IShareDelegate
限定符和类型 | 接口和说明 |
---|---|
static interface |
IShareDelegate.FBCallback |
static interface |
IShareDelegate.VKCallback |
限定符和类型 | 方法和说明 |
---|---|
boolean |
allowToWeChat() |
void |
askTwitterPublishPerms(androidx.fragment.app.Fragment fragment,
SnsBaseFragment.ISNSAskPublishCallback cb)
查询 Twitter 权限
|
void |
cancelLoading(androidx.fragment.app.Fragment fragment)
取消 loading
|
boolean |
checkVideo(com.app.live.activity.VideoDataInfo mShareVideo,
androidx.fragment.app.Fragment fragment)
检查直播信息合法性
|
void |
clearTmpBmpFiles() |
void |
directFbShareVideo(com.app.live.activity.VideoDataInfo dataInfo,
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(BaseShareModule.DirectShareData data,
androidx.fragment.app.Fragment fragment,
com.app.live.activity.VideoDataInfo shareVideo,
IShareDelegate.FBCallback fbCallback,
int shareMode,
boolean isFromQRPageShare)
分享到 Facebook
|
void |
directShareToVK(com.app.live.activity.VideoDataInfo data,
android.graphics.Bitmap bmp,
androidx.fragment.app.FragmentManager manager,
androidx.fragment.app.Fragment fragment,
BaseShareModule.IShareResult mShareResult,
java.lang.String mShareText,
java.lang.String vkUid)
分享直播到 VK
|
void |
directShareTwitter(BaseShareModule.DirectShareData data,
BaseShareModule.LiveShareData mLiveShareData,
java.lang.String topicName)
分享到 Twitter
|
void |
directTwitterShareVideo(androidx.fragment.app.Fragment fragment,
java.lang.String videoPath,
java.lang.String mShareText)
分享短视频到 Twitter
|
void |
facebookPreInit() |
java.lang.String |
getCurrentVKUserId()
获取 VK 账号用户 id
|
BaseFra |
getGroupSelectFragment(com.app.live.activity.VideoDataInfo data,
int type) |
android.graphics.Bitmap |
getUserQROblaterCard(androidx.fragment.app.Fragment fragment)
获取扁平的二维码分享卡片
|
android.graphics.Bitmap |
getUserQRSquareCard(androidx.fragment.app.Fragment fragment)
获取二维码分享卡片
|
boolean |
isDynamicPublish(androidx.fragment.app.Fragment fragment)
动态发布
|
boolean |
isFaceBookPublishPermValid()
检查 Facebook 权限
|
boolean |
isFromQRPageShare(androidx.fragment.app.Fragment fragment)
二维码分享页
|
boolean |
isPreShareBaseFragment(androidx.fragment.app.Fragment fragment)
准备页
|
boolean |
isPublishShortVideo(androidx.fragment.app.Fragment fragment)
短视频发布页
|
boolean |
isRecordShare(androidx.fragment.app.Fragment fragment)
录屏页
|
boolean |
isTwitterPublishPermValid()
检查 Twitter 权限
|
boolean |
isUpLiveEnd(androidx.fragment.app.Fragment fragment)
直播结束页
|
boolean |
isUpLivePrepare(androidx.fragment.app.Fragment fragment)
准备直播页
|
boolean |
isVKLoggedIn()
VK 账号是否已登录
|
void |
loginVK(android.app.Activity activity,
com.app.live.activity.VideoDataInfo data,
IShareDelegate.VKCallback vkCallback)
登录 VK
|
void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
onDestroy() |
void |
onFacebookShareError(androidx.fragment.app.Fragment fragment)
Facebook 分享失败
|
void |
onFacebookShareSuccess(androidx.fragment.app.Fragment fragment,
com.app.live.activity.VideoDataInfo mShareVideo)
Facebook 分享成功
|
java.lang.String |
saveBitmap(android.graphics.Bitmap bitmap)
保存图片
|
void |
shareCapToGroup(com.app.live.activity.VideoDataInfo videoDataInfo,
androidx.fragment.app.Fragment fragment,
int videoType)
分享截图到群组
|
void |
shareGooglePlus(androidx.fragment.app.Fragment fragment,
java.lang.String mShareText,
java.lang.String url,
android.net.Uri bmpUrl)
分享短视频到 Google
|
void |
shareToGroup(com.app.live.activity.VideoDataInfo videoDataInfo,
androidx.fragment.app.Fragment fragment,
BaseShareModule.LiveShareData mLiveShareData,
java.lang.String mTopicName,
int videoType,
IShareCallback callbac)
分享到群组
|
void |
shareToWeChat(androidx.fragment.app.Fragment fragment,
com.app.live.activity.VideoDataInfo mShareVideo,
int shareMode,
java.lang.String mShareTitle,
java.lang.String mShareText)
分享到 WeChat
|
void |
shareTwitter(androidx.fragment.app.Fragment fragment,
java.lang.String url,
android.net.Uri bmpUrl,
java.lang.String mShareText)
分享到 Twitter
|
void |
showLoading(androidx.fragment.app.Fragment fragment)
显示 loading
|
void |
toSelectGroup(com.app.live.activity.VideoDataInfo dataInfo,
androidx.fragment.app.Fragment fragment)
选择群组
|
void |
unregisterWeChat() |
void |
uploadVid(com.app.live.activity.VideoDataInfo vd,
androidx.fragment.app.Fragment fragment)
上传视频
|
void facebookPreInit()
boolean isFaceBookPublishPermValid()
void directShareFB(BaseShareModule.DirectShareData data, androidx.fragment.app.Fragment fragment, com.app.live.activity.VideoDataInfo shareVideo, IShareDelegate.FBCallback fbCallback, int shareMode, boolean isFromQRPageShare)
void directFbShareVideo(com.app.live.activity.VideoDataInfo dataInfo, androidx.fragment.app.Fragment fragment, com.app.live.activity.VideoDataInfo mShareVideo, IShareDelegate.FBCallback fbCallback, java.lang.String mShareTitle, java.lang.String mShareText)
void onFacebookShareSuccess(androidx.fragment.app.Fragment fragment, com.app.live.activity.VideoDataInfo mShareVideo)
void onFacebookShareError(androidx.fragment.app.Fragment fragment)
boolean isVKLoggedIn()
java.lang.String getCurrentVKUserId()
void loginVK(android.app.Activity activity, com.app.live.activity.VideoDataInfo data, IShareDelegate.VKCallback vkCallback)
void directShareToVK(com.app.live.activity.VideoDataInfo data, android.graphics.Bitmap bmp, androidx.fragment.app.FragmentManager manager, androidx.fragment.app.Fragment fragment, BaseShareModule.IShareResult mShareResult, java.lang.String mShareText, java.lang.String vkUid)
boolean isTwitterPublishPermValid()
void shareTwitter(androidx.fragment.app.Fragment fragment, java.lang.String url, android.net.Uri bmpUrl, java.lang.String mShareText)
void directShareTwitter(BaseShareModule.DirectShareData data, BaseShareModule.LiveShareData mLiveShareData, java.lang.String topicName)
void shareToWeChat(androidx.fragment.app.Fragment fragment, com.app.live.activity.VideoDataInfo mShareVideo, int shareMode, java.lang.String mShareTitle, java.lang.String mShareText)
void askTwitterPublishPerms(androidx.fragment.app.Fragment fragment, SnsBaseFragment.ISNSAskPublishCallback cb)
void directTwitterShareVideo(androidx.fragment.app.Fragment fragment, java.lang.String videoPath, java.lang.String mShareText)
void shareGooglePlus(androidx.fragment.app.Fragment fragment, java.lang.String mShareText, java.lang.String url, android.net.Uri bmpUrl)
BaseFra getGroupSelectFragment(com.app.live.activity.VideoDataInfo data, int type)
void shareToGroup(com.app.live.activity.VideoDataInfo videoDataInfo, androidx.fragment.app.Fragment fragment, BaseShareModule.LiveShareData mLiveShareData, java.lang.String mTopicName, int videoType, IShareCallback callbac)
void shareCapToGroup(com.app.live.activity.VideoDataInfo videoDataInfo, androidx.fragment.app.Fragment fragment, int videoType)
void toSelectGroup(com.app.live.activity.VideoDataInfo dataInfo, androidx.fragment.app.Fragment fragment)
boolean checkVideo(com.app.live.activity.VideoDataInfo mShareVideo, androidx.fragment.app.Fragment fragment)
void onActivityResult(int requestCode, int resultCode, android.content.Intent data)
void onDestroy()
void clearTmpBmpFiles()
void showLoading(androidx.fragment.app.Fragment fragment)
void cancelLoading(androidx.fragment.app.Fragment fragment)
boolean isUpLivePrepare(androidx.fragment.app.Fragment fragment)
boolean isUpLiveEnd(androidx.fragment.app.Fragment fragment)
boolean isRecordShare(androidx.fragment.app.Fragment fragment)
boolean isDynamicPublish(androidx.fragment.app.Fragment fragment)
boolean isPublishShortVideo(androidx.fragment.app.Fragment fragment)
boolean isPreShareBaseFragment(androidx.fragment.app.Fragment fragment)
boolean isFromQRPageShare(androidx.fragment.app.Fragment fragment)
void uploadVid(com.app.live.activity.VideoDataInfo vd, androidx.fragment.app.Fragment fragment)
android.graphics.Bitmap getUserQRSquareCard(androidx.fragment.app.Fragment fragment)
android.graphics.Bitmap getUserQROblaterCard(androidx.fragment.app.Fragment fragment)
java.lang.String saveBitmap(android.graphics.Bitmap bitmap)
boolean allowToWeChat()
void unregisterWeChat()