decode

abstract fun decode(sample: ByteArray, cancellationCheck: () -> Unit?): HeifPlanes?(source)

The picture that sample shows, or null when it shows none, as a sample a codec skips can. The core decodes an item, and the first frame of a track, through this method.