Package com.castlabs.sdk.thumbs
Class DefaultThumbnailView.ThumbnailInfo
java.lang.Object
com.castlabs.sdk.thumbs.DefaultThumbnailView.ThumbnailInfo
- Enclosing class:
DefaultThumbnailView
Thumbnail information class that holds metadata about the current thumbnail.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the actual time of the thumbnail as defined in the media resource.int
Gets the height of the thumbnail.long
Gets the time for which the thumbnail was requested.int
getWidth()
Gets the width of the 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
-