Class CallAutomationEventParser
java.lang.Object
com.azure.communication.callautomation.CallAutomationEventParser
Event handler for taking care of event related tasks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<CallAutomationEventBase> parseEvents(String requestBody) Returns a list of events from request's body.
-
Constructor Details
-
CallAutomationEventParser
public CallAutomationEventParser()
-
-
Method Details
-
parseEvents
Returns a list of events from request's body.- Parameters:
requestBody- Body of the event request.- Returns:
- a list of CallAutomationEventBase
- Throws:
RuntimeException- Any exceptions occurs at runtime.
-