public static final enum

YouTubeThumbnailLoader.ErrorReason

extends Enum<YouTubeThumbnailLoader.ErrorReason>
java.lang.Object
   ↳ java.lang.Enum<com.google.android.youtube.player.YouTubeThumbnailLoader.ErrorReason>
     ↳ com.google.android.youtube.player.YouTubeThumbnailLoader.ErrorReason

Class 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()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

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 ()