Success

class Success(val image: PlatformImage, val presentationTime: Duration, val colorSpace: ColorSpace) : FrameResult(source)

The frame was produced.

Constructors

Link copied to clipboard
constructor(image: PlatformImage, presentationTime: Duration, colorSpace: ColorSpace)

Properties

Link copied to clipboard

The color space the frame was rendered in.

Link copied to clipboard

The rendered frame. The caller owns it and must PlatformImage.close it.

Link copied to clipboard

The composition time that was actually rendered, which may sit a little either side of the time that was asked for.