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

YouTubeThumbnailLoader.ErrorReason

public static final enum
YouTubeThumbnailLoader.ErrorReason
extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.google.android.youtube.player.YouTubeThumbnailLoader.ErrorReason

Overview

Describes the reasons for an error in a YouTubeThumbnailView.

Summary

Enum values
YouTubeThumbnailLoader.ErrorReason.INTERNAL_ERROR An internal error prevented the thumbnail from being loaded.
YouTubeThumbnailLoader.ErrorReason.NETWORK_ERROR The thumbnail could not be loaded due a network request failing.
YouTubeThumbnailLoader.ErrorReason.UNKNOWN The reason for the error is not known.
Public methods
static YouTubeThumbnailLoader.ErrorReason valueOf(String name)
final static ErrorReason[] values()
Inherited methods

Enum values

public static final YouTubeThumbnailLoader.ErrorReason INTERNAL_ERROR

An internal error prevented the thumbnail from being loaded. Retrying may resolve the problem.

public static final YouTubeThumbnailLoader.ErrorReason NETWORK_ERROR

The thumbnail could not be loaded due a network request failing. Check that the device is connected to the Internet.

public static final YouTubeThumbnailLoader.ErrorReason UNKNOWN

The reason for the error is not known. This may be because the client library is older than the YouTube API service and does not know of the actual ErrorReason that the service is returning. Retrying may resolve the problem.

Public methods

public static YouTubeThumbnailLoader.ErrorReason valueOf (String name)

public static final ErrorReason[] values ()