public class NotifyServiceImpl extends BaseServiceImpl implements NotifyService
apiInfoList, serviceInfo| 限定符 | 构造器和说明 |
|---|---|
protected |
NotifyServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
CommonResponse<TaskAppendResult> |
batchAppend(BatchAppendRequest request)
append phone to task
|
CommonResponse<BasicResourceResult> |
commitVoiceResourceUpload(UploadVoiceResourceRequest request)
commit upload request
you should get a signed url and then send a http request by this signed url,
finally you can invoke this function to commit your request
|
CommonResponse<TaskAppendResult> |
createTask(CreateTaskRequest request)
create task
|
CommonResponse<BasicResourceResult> |
createTtsResource(CreateTtsResourceRequest request)
create tts resource
|
CommonResponse<BasicResourceResult> |
deleteResourceByResourceKey(String resourceKey)
delete resource by key
|
CommonResponse<BasicResourceResult> |
fetchVoiceResourceByUrl(FetchVoiceResourceRequest request)
fetch voice resource from public url
|
CommonResponse<BasicResourceResult> |
generateVoiceResourceUploadUrl(UploadVoiceResourceRequest request)
get a signed url
use with commitVoiceResourceUpload
1、get a signed url;
2、upload a voice resource — send a put http request to generated url;
3、invoke function of commitVoiceResourceUpload to commit request
|
static NotifyServiceImpl |
getInstance() |
CommonResponse |
pauseTask(String taskOpenId)
pause task
|
CommonResponse |
resumeTask(String taskOpenId)
resume task
|
CommonResponse<SingleAppendResult> |
singleBatchAppend(SingleAppendRequest request)
create a single call
|
CommonResponse |
singleCancel(String singleOpenId)
cancel a single call
|
CommonResponse<SingleInfo> |
singleInfo(String singleOpenId)
query a single call info
|
CommonResponse |
stopTask(String taskOpenId)
stop task
|
CommonResponse<TaskAppendResult> |
updateTask(EditTaskRequest request)
update task info
|
getAccessKey, getApiInfoList, getHttpClient, getISigner, getRegion, getSecretKey, getServiceInfo, getSignUrl, json, post, put, putData, putDataWithResponse, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSocketTimeout, signSts2clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccessKey, getRegion, getSecretKey, getSignUrl, json, post, put, putData, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSocketTimeout, signSts2public static NotifyServiceImpl getInstance()
public CommonResponse<TaskAppendResult> createTask(CreateTaskRequest request) throws Exception
NotifyServicecreateTask 在接口中 NotifyServicerequest - — requestException - exceptionpublic CommonResponse<TaskAppendResult> batchAppend(BatchAppendRequest request) throws Exception
NotifyServicebatchAppend 在接口中 NotifyServicerequest - — requestException - exceptionpublic CommonResponse<TaskAppendResult> updateTask(EditTaskRequest request) throws Exception
NotifyServiceupdateTask 在接口中 NotifyServicerequest - — requestException - exceptionpublic CommonResponse pauseTask(String taskOpenId) throws Exception
NotifyServicepauseTask 在接口中 NotifyServicetaskOpenId - — task idException - exceptionpublic CommonResponse resumeTask(String taskOpenId) throws Exception
NotifyServiceresumeTask 在接口中 NotifyServicetaskOpenId - — task idException - exceptionpublic CommonResponse stopTask(String taskOpenId) throws Exception
NotifyServicestopTask 在接口中 NotifyServicetaskOpenId - — task idException - exceptionpublic CommonResponse<SingleAppendResult> singleBatchAppend(SingleAppendRequest request) throws Exception
NotifyServicesingleBatchAppend 在接口中 NotifyServicerequest - — requestException - exceptionpublic CommonResponse<SingleInfo> singleInfo(String singleOpenId) throws Exception
NotifyServicesingleInfo 在接口中 NotifyServicesingleOpenId - — singleIdException - exceptionpublic CommonResponse singleCancel(String singleOpenId) throws Exception
NotifyServicesingleCancel 在接口中 NotifyServicesingleOpenId - — singleIdException - exceptionpublic CommonResponse<BasicResourceResult> fetchVoiceResourceByUrl(FetchVoiceResourceRequest request) throws Exception
NotifyServicefetchVoiceResourceByUrl 在接口中 NotifyServicerequest - -- requestException - exceptionpublic CommonResponse<BasicResourceResult> createTtsResource(CreateTtsResourceRequest request) throws Exception
NotifyServicecreateTtsResource 在接口中 NotifyServicerequest - — requestException - exceptionpublic CommonResponse<BasicResourceResult> deleteResourceByResourceKey(String resourceKey) throws Exception
NotifyServicedeleteResourceByResourceKey 在接口中 NotifyServiceresourceKey - — keyException - exceptionpublic CommonResponse<BasicResourceResult> generateVoiceResourceUploadUrl(UploadVoiceResourceRequest request) throws Exception
NotifyServicegenerateVoiceResourceUploadUrl 在接口中 NotifyServicerequest - — requestException - exceptionpublic CommonResponse<BasicResourceResult> commitVoiceResourceUpload(UploadVoiceResourceRequest request) throws Exception
NotifyServicecommitVoiceResourceUpload 在接口中 NotifyServiceExceptionCopyright © 2022. All rights reserved.