Package com.castlabs.sdk.thumbs

# Class ThumbnailProvider.ThumbnailResult

java.lang.Object
com.castlabs.sdk.thumbs.ThumbnailProvider.ThumbnailResult

Enclosing interface:
  ThumbnailProvider

public static final class ThumbnailProvider.ThumbnailResult extends Object
The result provided by the Future returned when requesting a Thumbnail through one of the `ThumbnailProvider.getThumbnail(long, int, long)` or `ThumbnailProvider.getThumbnail(long, int, long)` APIs

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final long`
  `actualPositionUs`
  The actual position of the thumbnail in micro seconds, or -1 if no data was found
  `final long`
  `requestedPositionUs`
  The requested position in micro seconds
  `final Bitmap`
  `thumbnail`
  The thumbnail, or null if no data was found

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### requestedPositionUs

    public final long requestedPositionUs
    The requested position in micro seconds

  - ### actualPositionUs

    public final long actualPositionUs
    The actual position of the thumbnail in micro seconds, or -1 if no data was found

  - ### thumbnail

    @Nullable public final Bitmap thumbnail
    The thumbnail, or null if no data was found