Package com.qiniu.qvs
Class DeviceManager
- java.lang.Object
-
- com.qiniu.qvs.DeviceManager
-
public class DeviceManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DeviceManager(Auth auth)DeviceManager(Auth auth, java.lang.String apiServer)DeviceManager(Auth auth, java.lang.String apiServer, Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponsecontrolGBRecord(java.lang.String namespaceId, java.lang.String streamId, PlayContral playContral)ResponsecreateDevice(java.lang.String namespaceId, Device device)ResponsedeleteChannel(java.lang.String namespaceId, java.lang.String gbId, java.lang.String channelId)ResponsedeleteDevice(java.lang.String namespaceId, java.lang.String gbId)ResponsefetchCatalog(java.lang.String namespaceId, java.lang.String gbId)ResponsegetVoiceChatUrl(java.lang.String namespaceId, java.lang.String gbId, VoiceChat voiceChat)ResponselistChannels(java.lang.String namespaceId, java.lang.String gbId, java.lang.String prefix)ResponselistDevice(java.lang.String namespaceId, int offset, int line, java.lang.String prefix, java.lang.String state, int qtype)ResponsequeryChannel(java.lang.String namespaceId, java.lang.String gbId, java.lang.String channelId)ResponsequeryDevice(java.lang.String namespaceId, java.lang.String gbId)ResponsequeryGBRecordHistories(java.lang.String namespaceId, java.lang.String gbId, java.lang.String channelId, int start, int end)ResponsesendVoiceChatData(java.lang.String url, java.lang.String base64_pcm)ResponsestartDevice(java.lang.String namespaceId, java.lang.String gbId, java.lang.String[] channels)ResponsestopDevice(java.lang.String namespaceId, java.lang.String gbId, java.lang.String[] channels)ResponseupdateDevice(java.lang.String namespaceId, java.lang.String gbId, PatchOperation[] patchOperation)
-
-
-
Method Detail
-
createDevice
public Response createDevice(java.lang.String namespaceId, Device device) throws QiniuException
- Throws:
QiniuException
-
deleteDevice
public Response deleteDevice(java.lang.String namespaceId, java.lang.String gbId) throws QiniuException
- Throws:
QiniuException
-
updateDevice
public Response updateDevice(java.lang.String namespaceId, java.lang.String gbId, PatchOperation[] patchOperation) throws QiniuException
- Throws:
QiniuException
-
queryDevice
public Response queryDevice(java.lang.String namespaceId, java.lang.String gbId) throws QiniuException
- Throws:
QiniuException
-
listDevice
public Response listDevice(java.lang.String namespaceId, int offset, int line, java.lang.String prefix, java.lang.String state, int qtype) throws QiniuException
- Throws:
QiniuException
-
listChannels
public Response listChannels(java.lang.String namespaceId, java.lang.String gbId, java.lang.String prefix) throws QiniuException
- Throws:
QiniuException
-
startDevice
public Response startDevice(java.lang.String namespaceId, java.lang.String gbId, java.lang.String[] channels) throws QiniuException
- Throws:
QiniuException
-
stopDevice
public Response stopDevice(java.lang.String namespaceId, java.lang.String gbId, java.lang.String[] channels) throws QiniuException
- Throws:
QiniuException
-
fetchCatalog
public Response fetchCatalog(java.lang.String namespaceId, java.lang.String gbId) throws QiniuException
- Throws:
QiniuException
-
queryChannel
public Response queryChannel(java.lang.String namespaceId, java.lang.String gbId, java.lang.String channelId) throws QiniuException
- Throws:
QiniuException
-
deleteChannel
public Response deleteChannel(java.lang.String namespaceId, java.lang.String gbId, java.lang.String channelId) throws QiniuException
- Throws:
QiniuException
-
queryGBRecordHistories
public Response queryGBRecordHistories(java.lang.String namespaceId, java.lang.String gbId, java.lang.String channelId, int start, int end) throws QiniuException
- Throws:
QiniuException
-
getVoiceChatUrl
public Response getVoiceChatUrl(java.lang.String namespaceId, java.lang.String gbId, VoiceChat voiceChat) throws QiniuException
- Throws:
QiniuException
-
sendVoiceChatData
public Response sendVoiceChatData(java.lang.String url, java.lang.String base64_pcm) throws QiniuException
- Throws:
QiniuException
-
controlGBRecord
public Response controlGBRecord(java.lang.String namespaceId, java.lang.String streamId, PlayContral playContral) throws QiniuException
- Throws:
QiniuException
-
-