Class DefaultThumbnailView.ThumbnailInfo

java.lang.Object
com.castlabs.sdk.thumbs.DefaultThumbnailView.ThumbnailInfo
Enclosing class:
DefaultThumbnailView

public static final class DefaultThumbnailView.ThumbnailInfo extends Object
Thumbnail information class that holds metadata about the current thumbnail.
  • Constructor Details

    • ThumbnailInfo

      public ThumbnailInfo()
      Creates a new ThumbnailInfo instance.
  • Method Details

    • getWidth

      public int getWidth()
      Gets the width of the thumbnail.
      Returns:
      The width of the thumbnail in pixels
    • getHeight

      public int getHeight()
      Gets the height of the thumbnail.
      Returns:
      The height of the thumbnail in pixels
    • getRequestedTimeUs

      public long getRequestedTimeUs()
      Gets the time for which the thumbnail was requested.
      Returns:
      The requested time in microseconds
    • getActualTimeUs

      public long getActualTimeUs()
      Gets the actual time of the thumbnail as defined in the media resource.
      Returns:
      The actual time in microseconds