Click here to see your recently viewed pages and most viewed pages.
Hide

YouTubeThumbnailView.OnInitializedListener

public static interface
YouTubeThumbnailView.OnInitializedListener
com.google.android.youtube.player.YouTubeThumbnailView.OnInitializedListener

Overview

An interface with definitions of callbacks invoked when thumbnail view initialization succeeds or fails.

Summary

Public methods
abstract void onInitializationFailure(YouTubeThumbnailView thumbnailView, YouTubeInitializationResult error)
Called when initialization of the thumbnail view fails.
abstract void onInitializationSuccess(YouTubeThumbnailView thumbnailView, YouTubeThumbnailLoader thumbnailLoader)
Called when initialization of the thumbnail view succeeds.

Public methods

public abstract void onInitializationFailure (YouTubeThumbnailView thumbnailView, YouTubeInitializationResult error)

Called when initialization of the thumbnail view fails.

Parameters
thumbnailView The YouTubeThumbnailView which failed to initialize.
error The reason for this failure, along with potential resolutions to this failure.

public abstract void onInitializationSuccess (YouTubeThumbnailView thumbnailView, YouTubeThumbnailLoader thumbnailLoader)

Called when initialization of the thumbnail view succeeds.

Parameters
thumbnailView The YouTubeThumbnailView which has been initialized.
thumbnailLoader The YouTubeThumbnailLoader which can be used to load thumbnails in the thumbnail view.