YouTube

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()
[Expand]
Inherited methods
final Object clone()
int compareTo(Object arg0)
final int compareTo(E arg0)
final boolean equals(Object arg0)
final void finalize()
final Class<E> getDeclaringClass()
final int hashCode()
final String name()
final int ordinal()
String toString()
static <T extends Enum<T>> T valueOf(Class<T> arg0, String arg1)
Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait()
final void wait(long arg0, int arg1)
final void wait(long arg0)
abstract int compareTo(T arg0)

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

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.