Package com.mypurecloud.sdk.v2.api
Class WebMessagingApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.WebMessagingApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteWebmessagingDeploymentPushdeviceAsync(DeleteWebmessagingDeploymentPushdeviceRequest request, AsyncApiCallback<Void> callback) Delete device informationdeleteWebmessagingDeploymentPushdeviceAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete device informationgetWebmessagingMessagesAsync(GetWebmessagingMessagesRequest request, AsyncApiCallback<WebMessagingMessageEntityList> callback) Get the messages for a web messaging session.getWebmessagingMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<WebMessagingMessageEntityList>> callback) Get the messages for a web messaging session.patchWebmessagingDeploymentPushdeviceAsync(PatchWebmessagingDeploymentPushdeviceRequest request, AsyncApiCallback<Void> callback) Edit device informationpatchWebmessagingDeploymentPushdeviceAsync(ApiRequest<PushDeviceUpdateRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Edit device informationpostWebmessagingDeploymentPushdeviceAsync(PostWebmessagingDeploymentPushdeviceRequest request, AsyncApiCallback<Void> callback) Add a new device informationpostWebmessagingDeploymentPushdeviceAsync(ApiRequest<PushDeviceInsertRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Add a new device information
-
Constructor Details
-
WebMessagingApiAsync
public WebMessagingApiAsync() -
WebMessagingApiAsync
-
-
Method Details
-
deleteWebmessagingDeploymentPushdeviceAsync
public Future<Void> deleteWebmessagingDeploymentPushdeviceAsync(DeleteWebmessagingDeploymentPushdeviceRequest request, AsyncApiCallback<Void> callback) Delete device information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteWebmessagingDeploymentPushdeviceAsync
public Future<ApiResponse<Void>> deleteWebmessagingDeploymentPushdeviceAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete device information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getWebmessagingMessagesAsync
public Future<WebMessagingMessageEntityList> getWebmessagingMessagesAsync(GetWebmessagingMessagesRequest request, AsyncApiCallback<WebMessagingMessageEntityList> callback) Get the messages for a web messaging session.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getWebmessagingMessagesAsync
public Future<ApiResponse<WebMessagingMessageEntityList>> getWebmessagingMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<WebMessagingMessageEntityList>> callback) Get the messages for a web messaging session.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchWebmessagingDeploymentPushdeviceAsync
public Future<Void> patchWebmessagingDeploymentPushdeviceAsync(PatchWebmessagingDeploymentPushdeviceRequest request, AsyncApiCallback<Void> callback) Edit device information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchWebmessagingDeploymentPushdeviceAsync
public Future<ApiResponse<Void>> patchWebmessagingDeploymentPushdeviceAsync(ApiRequest<PushDeviceUpdateRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Edit device information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postWebmessagingDeploymentPushdeviceAsync
public Future<Void> postWebmessagingDeploymentPushdeviceAsync(PostWebmessagingDeploymentPushdeviceRequest request, AsyncApiCallback<Void> callback) Add a new device information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postWebmessagingDeploymentPushdeviceAsync
public Future<ApiResponse<Void>> postWebmessagingDeploymentPushdeviceAsync(ApiRequest<PushDeviceInsertRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Add a new device information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-