There are cases where we want to play some media to the user, for those cases there is the MediaObject class. The class will create a MediaObject response that will play the media to the user.
The object requires an URL with the location of the media, and optionally you can provide an image.
Summary of content
- Creating the intent
- Adding the MediaObject
- Adding the content to the MediaObject
- Testing the new intent