DCEFrameListener
The interface to handle callback when previewed frame callback is returned.
interface com.dynamsoft.dce.DCEFrameListener
Methods | Description |
---|---|
frameOutputCallback |
The callback method for user to implement when frame is output. |
frameOutputCallback
The callback method can be triggered when frame
is output.
void frameOutputCallback(DCEFrame frame, long timeStamp);
Parameters
frame
: The DCEFrame
object that contains the image data and further information.
timeStamp
: The timeStamp
that records when the frame
is output.
Code Snippet
cameraEnhancer.addListener(new DCEFrameListener() {
@Override
public void frameOutputCallback(DCEFrame frame, long timeStamp) {
// Add your code
}
});
See also