public class LiveAccountServiceImpl extends LiveBaseService implements ILiveAccountService
ERROR_INFO, ERROR_PREFIX, ERROR_PREFIX1, ERROR_SUFFIX| 构造器和说明 |
|---|
LiveAccountServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
createAccountToken(LiveCreateAccountTokenRequest liveCreateAccountTokenRequest)
设置账号单点登录的token
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zhsz/set-user-login-token/
|
LiveCreateCategoryResponse |
createCategory(LiveCreateCategoryRequest liveCreateCategoryRequest)
创建账号下直播分类
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zhsz/create-category/
|
Boolean |
deleteCategory(LiveDeleteCategoryRequest liveDeleteCategoryRequest)
删除直播频道分类
API地址:https://dev.polyv.net/2020/liveproduct/l-api/zhsz/delete-category/
|
LiveAccountInfoResponse |
getAccountInfo(LiveAccountInfoRequest liveAccountInfoRequest)
获取直播用户账号信息接口
API地址:https://dev.polyv.net/2020/liveproduct/l-api/zhsz/get-user-info/
|
LiveAccountSwitchResponse |
getAccountSwitch(LiveAccountSwitchRequest liveAccountSwitchRequest)
查询功能开关状态接口
注:isClosePreview当enabled值为Y时,表示的是关闭系统观看页;closeDanmu当enabled值为Y时,表示的是关闭弹幕;closeChaterList当enabled值为Y时,表示的是关闭在线列表
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/switch-get/
|
LiveChannelIncomeDetailResponse |
getChannelIncomeDetail(LiveChannelIncomeDetailRequest liveChannelIncomeDetailRequest)
查询账号下所有/某个频道号收入详情
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/get-income-detail/
|
LiveGetUserCallbackResponse |
getLiveUserCallback(LiveGetUserCallbackRequest liveGetUserCallbackRequest)
查询全局回调设置
API地址:https://help.polyv.net/#/live/api/v4/user/get_callback
|
LiveAccountMicDurationResponse |
getMicDuration(LiveAccountMicDurationRequest liveAccountMicDurationRequest)
获取账号连麦分钟数使用量与剩余量
API地址:https://dev.polyv.net/2020/liveproduct/l-api/zhsz/mic-duration/
|
LiveGetMicDurationResponse |
getMicDuration(LiveGetMicDurationRequest liveGetMicDurationRequest)
查询账号时间范围连麦使用量
API地址:https://help.polyv.net/#/live/api/v4/user/mic_duration
|
LiveChannelReceiveListResponse |
getReceiveList(LiveChannelReceiveListRequest liveChannelReceiveListRequest)
分页查询频道接收转播列表
API地址:https://help.polyv.net/#/live/api/account/receive_list
|
LiveAccountUserDurationsResponse |
getUserDurations(LiveAccountUserDurationsRequest liveAccountUserDurationsRequest)
查询账户分钟数
API地址:https://dev.polyv.net/2017/liveproduct/l-api/zhsz/get-user-durations/
|
LiveListAccountResponse |
listAccount(LiveListAccountRequest liveListAccountRequest)
查询账号下的频道列表(返回频道号列表)
API地址:https://dev.polyv.net/2016/liveproduct/l-api/zhsz/channels/
|
LiveListAccountBasicV2Response |
listAccountBasicInfoV2(LiveListAccountBasicInfoV2Request liveListAccountBasicInfoV2Request)
查询所有频道的基础信息
API地址:https://help.polyv.net/#/live/api/v4/channel/operate/list_channel_basic
|
LiveListAccountBasicV2Response |
listAccountBasicV2(LiveListAccountBasicV2Request liveListAccountBasicV2Request)
已过时。
|
LiveListAccountDetailResponse |
listAccountDetail(LiveListAccountDetailRequest liveListAccountDetailRequest)
查询账号下所有频道详细信息
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zhsz/chennel-detail/
|
LiveListAccountDetailV2Response |
listAccountDetailV2(LiveListAccountDetailV2Request liveListAccountDetailV2Request)
查询所有频道的详细信息
API地址:https://help.polyv.net/#/live/api/v4/channel/operate/channel_detail_list
|
LiveListCategoryResponse |
listCategory(LiveListCategoryRequest liveCategoryRequest)
查询账号下直播分类
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/get-category-list/
|
LiveListAccountChannelBasicResponse |
listChannelBasic(LiveListAccountChannelBasicRequest liveListAccountChannelBasicRequest)
查询账号下所有频道缩略信息
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/get-simple-channel-list/
|
LiveListAccountChannelSimpleV2Response |
listChannelSimpleV2(LiveListAccountChannelSimpleV2Request liveListAccountChannelSimpleV2Request)
查询账号下所有频道缩略信息
API地址:https://help.polyv.net/#/live/api/v4/channel/operate/channel_simple_list
|
Boolean |
updateAccountSwitch(LiveUpdateAccountSwitchRequest liveUpdateAccountSwitchRequest)
设置功能开关状态
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/switch-update/
|
Boolean |
updateCategory(LiveUpdateCategoryRequest liveUpdateCategoryRequest)
修改直播频道分类名称
API地址:https://dev.polyv.net/2020/liveproduct/l-api/zhsz/update-category-name/
|
Boolean |
updateCategorySort(LiveUpdateCategorySortRequest liveUpdateCategorySortRequest)
修改直播频道分类顺序
API地址:https://dev.polyv.net/2020/liveproduct/l-api/zhsz/update-category-rank/
|
Boolean |
updateLiveUserCallback(LiveUpdateUserCallbackRequest liveUpdateUserCallbackRequest)
修改全局回调设置
API地址:https://help.polyv.net/#/live/api/v4/user/update_callback
|
Boolean |
updatePlaybackCallbackUrl(LiveAccountPlaybackCallbackRequest liveAccountPlaybackCallbackRequest)
设置转存成功回调通知url
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/set-playback-callback/
|
Boolean |
updateRecordCallbackUrl(LiveAccountRecordCallbackRequest liveAccountRecordCallbackRequest)
设置录制回调通知url
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/set-record-callback/
|
Boolean |
updateStreamCallbackUrl(LiveAccountStreamCallbackRequest liveAccountStreamCallbackRequest)
设置直播状态回调通知url
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/set-stream-callback/
|
public LiveListAccountDetailResponse listAccountDetail(LiveListAccountDetailRequest liveListAccountDetailRequest) throws IOException, NoSuchAlgorithmException
listAccountDetail 在接口中 ILiveAccountServiceliveListAccountDetailRequest - 查询所有频道详细信息请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveListAccountResponse listAccount(LiveListAccountRequest liveListAccountRequest) throws IOException, NoSuchAlgorithmException
listAccount 在接口中 ILiveAccountServiceliveListAccountRequest - 查询账号下的频道列表 请求体IOException - 异常NoSuchAlgorithmException - 异常public LiveAccountMicDurationResponse getMicDuration(LiveAccountMicDurationRequest liveAccountMicDurationRequest) throws IOException, NoSuchAlgorithmException
getMicDuration 在接口中 ILiveAccountServiceliveAccountMicDurationRequest - 获取账号连麦分钟数使用量与剩余量请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updateAccountSwitch(LiveUpdateAccountSwitchRequest liveUpdateAccountSwitchRequest) throws IOException, NoSuchAlgorithmException
updateAccountSwitch 在接口中 ILiveAccountServiceliveUpdateAccountSwitchRequest - 设置功能开关状态请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean createAccountToken(LiveCreateAccountTokenRequest liveCreateAccountTokenRequest) throws IOException, NoSuchAlgorithmException
createAccountToken 在接口中 ILiveAccountServiceliveCreateAccountTokenRequest - 设置账号单点登录的token请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updateStreamCallbackUrl(LiveAccountStreamCallbackRequest liveAccountStreamCallbackRequest) throws IOException, NoSuchAlgorithmException
updateStreamCallbackUrl 在接口中 ILiveAccountServiceliveAccountStreamCallbackRequest - 设置直播状态回调通知url请求体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updatePlaybackCallbackUrl(LiveAccountPlaybackCallbackRequest liveAccountPlaybackCallbackRequest) throws IOException, NoSuchAlgorithmException
updatePlaybackCallbackUrl 在接口中 ILiveAccountServiceliveAccountPlaybackCallbackRequest - 设置转存成功回调通知url请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updateRecordCallbackUrl(LiveAccountRecordCallbackRequest liveAccountRecordCallbackRequest) throws IOException, NoSuchAlgorithmException
updateRecordCallbackUrl 在接口中 ILiveAccountServiceliveAccountRecordCallbackRequest - 设置录制回调通知url请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveAccountSwitchResponse getAccountSwitch(LiveAccountSwitchRequest liveAccountSwitchRequest) throws IOException, NoSuchAlgorithmException
getAccountSwitch 在接口中 ILiveAccountServiceliveAccountSwitchRequest - 查询功能开关状态接口请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveListAccountChannelBasicResponse listChannelBasic(LiveListAccountChannelBasicRequest liveListAccountChannelBasicRequest) throws IOException, NoSuchAlgorithmException
listChannelBasic 在接口中 ILiveAccountServiceliveListAccountChannelBasicRequest - 查询账号下所有频道缩略信息请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveAccountUserDurationsResponse getUserDurations(LiveAccountUserDurationsRequest liveAccountUserDurationsRequest) throws IOException, NoSuchAlgorithmException
getUserDurations 在接口中 ILiveAccountServiceliveAccountUserDurationsRequest - 查询账户分钟数请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveCreateCategoryResponse createCategory(LiveCreateCategoryRequest liveCreateCategoryRequest) throws IOException, NoSuchAlgorithmException
createCategory 在接口中 ILiveAccountServiceliveCreateCategoryRequest - 创建账号下直播分类请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveListCategoryResponse listCategory(LiveListCategoryRequest liveCategoryRequest) throws IOException, NoSuchAlgorithmException
listCategory 在接口中 ILiveAccountServiceliveCategoryRequest - 查询账号下直播分类请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updateCategory(LiveUpdateCategoryRequest liveUpdateCategoryRequest) throws IOException, NoSuchAlgorithmException
updateCategory 在接口中 ILiveAccountServiceliveUpdateCategoryRequest - 修改直播频道分类名称请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean deleteCategory(LiveDeleteCategoryRequest liveDeleteCategoryRequest) throws IOException, NoSuchAlgorithmException
deleteCategory 在接口中 ILiveAccountServiceliveDeleteCategoryRequest - 删除直播频道分类请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updateCategorySort(LiveUpdateCategorySortRequest liveUpdateCategorySortRequest) throws IOException, NoSuchAlgorithmException
updateCategorySort 在接口中 ILiveAccountServiceliveUpdateCategorySortRequest - 修改直播频道分类顺序请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveAccountInfoResponse getAccountInfo(LiveAccountInfoRequest liveAccountInfoRequest) throws IOException, NoSuchAlgorithmException
getAccountInfo 在接口中 ILiveAccountServiceliveAccountInfoRequest - 获取直播用户账号信息接口请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveChannelIncomeDetailResponse getChannelIncomeDetail(LiveChannelIncomeDetailRequest liveChannelIncomeDetailRequest) throws IOException, NoSuchAlgorithmException
getChannelIncomeDetail 在接口中 ILiveAccountServiceliveChannelIncomeDetailRequest - 查询账号下所有/某个频道号收入详情请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveChannelReceiveListResponse getReceiveList(LiveChannelReceiveListRequest liveChannelReceiveListRequest) throws IOException, NoSuchAlgorithmException
getReceiveList 在接口中 ILiveAccountServiceliveChannelReceiveListRequest - 分页查询频道接收转播列表请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveListAccountChannelSimpleV2Response listChannelSimpleV2(LiveListAccountChannelSimpleV2Request liveListAccountChannelSimpleV2Request) throws IOException, NoSuchAlgorithmException
listChannelSimpleV2 在接口中 ILiveAccountServiceliveListAccountChannelSimpleV2Request - 查询账号下所有频道缩略信息请求实体IOException - 异常NoSuchAlgorithmException - 异常@Deprecated public LiveListAccountBasicV2Response listAccountBasicV2(LiveListAccountBasicV2Request liveListAccountBasicV2Request) throws IOException, NoSuchAlgorithmException
listAccountBasicV2 在接口中 ILiveAccountServiceliveListAccountBasicV2Request - 查询所有频道的基础信息请求实体IOException - 异常NoSuchAlgorithmException - 异常
listAccountBasicInfoV2(net.polyv.live.v2.entity.channel.account.LiveListAccountBasicInfoV2Request)public LiveListAccountBasicV2Response listAccountBasicInfoV2(LiveListAccountBasicInfoV2Request liveListAccountBasicInfoV2Request) throws IOException, NoSuchAlgorithmException
listAccountBasicInfoV2 在接口中 ILiveAccountServiceliveListAccountBasicInfoV2Request - 查询所有频道的基础信息请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveListAccountDetailV2Response listAccountDetailV2(LiveListAccountDetailV2Request liveListAccountDetailV2Request) throws IOException, NoSuchAlgorithmException
listAccountDetailV2 在接口中 ILiveAccountServiceliveListAccountDetailV2Request - 查询所有频道的详细信息请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveGetUserCallbackResponse getLiveUserCallback(LiveGetUserCallbackRequest liveGetUserCallbackRequest) throws IOException, NoSuchAlgorithmException
getLiveUserCallback 在接口中 ILiveAccountServiceliveGetUserCallbackRequest - 查询全局回调设置请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updateLiveUserCallback(LiveUpdateUserCallbackRequest liveUpdateUserCallbackRequest) throws IOException, NoSuchAlgorithmException
updateLiveUserCallback 在接口中 ILiveAccountServiceliveUpdateUserCallbackRequest - 修改全局回调设置请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveGetMicDurationResponse getMicDuration(LiveGetMicDurationRequest liveGetMicDurationRequest) throws IOException, NoSuchAlgorithmException
getMicDuration 在接口中 ILiveAccountServiceliveGetMicDurationRequest - 查询账号时间范围连麦使用量请求实体IOException - 异常NoSuchAlgorithmException - 异常Copyright © 2022. All rights reserved.