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