Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface CameraFrame.JpegEncoder

Encodes a frame on demand. Implementations must own the input bytes; they must not retain a native image that is closed after frame delivery.

Methods

public abstract byte[] encode()

Method details

encode

public abstract byte[] encode()