This interface was deprecated
in API level 21.
We recommend using the new
android.hardware.camera2 API for new
Callback interface used to deliver copies of preview frames as they are displayed.
Called as preview frames are displayed.
void onPreviewFrame (byte data, Camera camera)
Called as preview frames are displayed. This callback is invoked
on the event thread
open(int) was called from.