We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b12c2fc commit 322b7f7Copy full SHA for 322b7f7
articles/communication-services/how-tos/call-automation/includes/play-audio-quickstart-java.md
@@ -297,6 +297,15 @@ if (acsEvent instanceof PlayCompleted) {
297
}
298
```
299
300
+### Example of how you can deserialize the *PlayStarted* event:
301
+
302
+``` java
303
+if (acsEvent instanceof PlayStarted) {
304
+ PlayStarted event = (PlayStarted) acsEvent;
305
+ log.info("Play started, context=" + event.getOperationContext());
306
+}
307
+```
308
309
### Example of how you can deserialize the *PlayFailed* event:
310
311
``` java
0 commit comments