# ThumbnailImage Class

    public class ThumbnailImage

Defines a single thumbnail image along with it’s timing information.

### Lifecycle

- `init(timeStampStart:timeStampEnd:imageData:)`

  Creates a thumbnail image payload with its display time range.

  #### Declaration

  Swift

      public init(
          timeStampStart: CMTime,
          timeStampEnd: CMTime,
          imageData: Data
      )

  #### Parameters

  `timeStampStart` | Start time where thumbnail becomes active.
  `timeStampEnd` | End time where thumbnail stops being active.
  `imageData` | Encoded image bytes.

### Public

- `timeStampStart`

  Media player position where the thumbnail should start to be shown.

  #### Declaration

  Swift

      public var timeStampStart: CMTime

- `timeStampEnd`

  Media player position where the thumbnail should stop being shown.

  #### Declaration

  Swift

      public var timeStampEnd: CMTime

- `imageData`

  The raw image data for the thumbnail. Can be used to construct an UIImageView object.

  #### Declaration

  Swift

      public var imageData: Data