java.lang.Object | ||
↳ | java.lang.Enum<com.google.android.youtube.player.YouTubeThumbnailLoader.ErrorReason> | |
↳ | com.google.android.youtube.player.YouTubeThumbnailLoader.ErrorReason |
Describes the reasons for an error in a YouTubeThumbnailView
.
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
An internal error prevented the thumbnail from being loaded. Retrying may resolve the problem.
The thumbnail could not be loaded due a network request failing. Check that the device is connected to the Internet.
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.