Package com.castlabs.sdk.thumbs

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

  Constructors
  Constructor
  Description
  `ThumbnailInfo()`
  Creates a new ThumbnailInfo instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getActualTimeUs()`
  Gets the actual time of the thumbnail as defined in the media resource.
  `int`
  `getHeight()`
  Gets the height of the thumbnail.
  `long`
  `getRequestedTimeUs()`
  Gets the time for which the thumbnail was requested.
  `int`
  `getWidth()`
  Gets the width of the thumbnail.

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

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

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