I successfully included the CastCompanionLibrary in my media app. I use the VideoCastManager class. Now I want to put a listener on the VideoCastManager's play/stop button to catch the stop event to do something on my main screen.
Is there a onClickListener on the CastCompanionLibrary's start/stop button?
Is it the method mCastManager.onPlayPauseClicked(..)? If yes, do you have an example how to use it?
The button I am talking about is the white play button in the cast_activity.xml shown in this screenshot:
