public class LiveAccountServiceImpl extends LiveBaseService implements ILiveAccountService
ERROR_INFO, ERROR_PREFIX, ERROR_PREFIX1, ERROR_SUFFIX| 构造器和说明 |
|---|
LiveAccountServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
LiveAccountSwitchResponse |
accountSwitch(LiveAccountSwitchRequest liveAccountSwitchRequest)
查询功能开关状态接口
注:isClosePreview当enabled值为Y时,表示的是关闭系统观看页;closeDanmu当enabled值为Y时,表示的是关闭弹幕;closeChaterList当enabled值为Y时,表示的是关闭在线列表
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/switch-get/
|
Boolean |
createAccountToken(LiveCreateAccountTokenRequest liveCreateAccountTokenRequest)
设置账号单点登录的token
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zhsz/set-user-login-token/
|
LiveListAccountResponse |
listAccount(LiveListAccountRequest liveListAccountRequest)
查询账号下的频道列表(返回频道号列表)
API地址:https://dev.polyv.net/2016/liveproduct/l-api/zhsz/channels/
|
LiveListAccountDetailResponse |
listAccountDetail(LiveListAccountDetailRequest liveListAccountDetailRequest)
查询账号下所有频道详细信息
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zhsz/chennel-detail/
|
LiveListAccountChannelBasicResponse |
listChannelBasic(LiveListAccountChannelBasicRequest liveListAccountChannelBasicRequest)
查询账号下所有频道缩略信息
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/get-simple-channel-list/
|
LiveAccountMicDurationResponse |
micDuration(LiveAccountMicDurationRequest liveAccountMicDurationRequest)
获取账号连麦分钟数使用量与剩余量
API地址:https://dev.polyv.net/2020/liveproduct/l-api/zhsz/mic-duration/
|
Boolean |
updateAccountSwitch(LiveUpdateAccountSwitchRequest liveUpdateAccountSwitchRequest)
设置功能开关状态
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zhsz/switch-update/
|
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/
|
LiveAccountUserDurationsResponse |
userDurations(LiveAccountUserDurationsRequest liveAccountUserDurationsRequest)
查询账户分钟数
API地址:https://dev.polyv.net/2017/liveproduct/l-api/zhsz/get-user-durations/
|
baseGet, baseGetReturnArray, basePost, basePostJson, basePostJson, basePostJsonReturnArray, basePostReturnArray, baseUploadFilepublic 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 micDuration(LiveAccountMicDurationRequest liveAccountMicDurationRequest) throws IOException, NoSuchAlgorithmException
micDuration 在接口中 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 accountSwitch(LiveAccountSwitchRequest liveAccountSwitchRequest) throws IOException, NoSuchAlgorithmException
accountSwitch 在接口中 ILiveAccountServiceliveAccountSwitchRequest - 查询功能开关状态接口请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveListAccountChannelBasicResponse listChannelBasic(LiveListAccountChannelBasicRequest liveListAccountChannelBasicRequest) throws IOException, NoSuchAlgorithmException
listChannelBasic 在接口中 ILiveAccountServiceliveListAccountChannelBasicRequest - 查询账号下所有频道缩略信息请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveAccountUserDurationsResponse userDurations(LiveAccountUserDurationsRequest liveAccountUserDurationsRequest) throws IOException, NoSuchAlgorithmException
userDurations 在接口中 ILiveAccountServiceliveAccountUserDurationsRequest - 查询账户分钟数请求实体IOException - 异常NoSuchAlgorithmException - 异常Copyright © 2020. All rights reserved.