-
-
Notifications
You must be signed in to change notification settings - Fork 765
YouTubePlayerListener
Pierfrancesco Soffritti edited this page Jun 30, 2018
·
5 revisions
The documentation has been moved in the readme of the project. This wiki is outdated.
A YouTubePlayerListener is used to receive events from a YouTubePlayer.
During its existence a YouTubePlayer
will constantly launch events, you can listen to them by adding a YouTubePlayerListener
to the YouTubePlayer
.
You can easily add a YouTubePlayerListener
to your YouTubePlayer
using this methods:
YouTubePlayer.addListener(YouTubePlayerListener listener);
YouTubePlayer.removeListener(YouTubePlayerListener listener);
If you don't want to implement all the methods from YouTubePlayerListener
, you can extend AbstractYouTubePlayerListener
instead of implementing YouTubePlayerListener
.
For more information on the methods defined in the YouTubePlayerListener
interface, please refer to the documentation defined above each method here.