public class ThumbnailImage
Defines a single thumbnail image along with it’s timing information.
public class ThumbnailImage
Defines a single thumbnail image along with it’s timing information.
Creates a thumbnail image payload with its display time range.
Swift
public init(
timeStampStart: CMTime,
timeStampEnd: CMTime,
imageData: Data
)
timeStampStart
|
Start time where thumbnail becomes active. |
timeStampEnd
|
End time where thumbnail stops being active. |
imageData
|
Encoded image bytes. |
Media player position where the thumbnail should start to be shown.
Swift
public var timeStampStart: CMTime
Media player position where the thumbnail should stop being shown.
Swift
public var timeStampEnd: CMTime
The raw image data for the thumbnail. Can be used to construct an UIImageView object.
Swift
public var imageData: Data