a single preview frame will be returned to the handler supplied . the data will arrive as byte in the message.obj field , with width and height encoded as message.arg1 and message.arg2 , respectively . concode_field_sep int MAX_FRAME_WIDTH concode_elem_sep String TAG concode_elem_sep int requestedFramingRectHeight concode_elem_sep AutoFocusManager autoFocusManager concode_elem_sep int requestedCameraId concode_elem_sep int MAX_FRAME_HEIGHT concode_elem_sep CameraConfigurationManager configManager concode_elem_sep PreviewCallback previewCallback concode_elem_sep Rect framingRectInPreview concode_elem_sep int MIN_FRAME_HEIGHT concode_elem_sep Context context concode_elem_sep Rect framingRect concode_elem_sep boolean initialized concode_elem_sep int requestedFramingRectWidth concode_elem_sep OpenCamera camera concode_elem_sep boolean previewing concode_elem_sep int MIN_FRAME_WIDTH concode_field_sep void stopPreview concode_elem_sep void startPreview concode_elem_sep boolean isOpen concode_elem_sep Rect getFramingRect concode_elem_sep void setManualFramingRect concode_elem_sep int findDesiredDimensionInRange concode_elem_sep PlanarYUVLuminanceSource buildLuminanceSource concode_elem_sep void closeDriver concode_elem_sep void setManualCameraId concode_elem_sep void setTorch concode_elem_sep void openDriver concode_elem_sep Rect getFramingRectInPreview
void function ( Handler arg0 , int arg1 ) { OpenCamera loc0 = camera ; if ( loc0 != null && previewing ) { previewCallback . setHandler ( arg0 , arg1 ) ; loc0 . getCamera ( ) . setOneShotPreviewCallback ( previewCallback ) ; } }