Class: Payload

ImageProvider~ Payload

new Payload(success, frames, displayWidth, displayHeight)

Payload structure returned to the caller as a callback parameter.
Parameters:
Name Type Description
success boolean True if decoding was successful.
frames Uint8Array Array of frame data.
displayWidth number Max width of all frames.
displayHeight number Max height of all frames.
Source: