public class CameraHandler
extends android.os.Handler
The object is created on the UI thread, and all handlers run there. Messages are sent from other threads, using sendMessage().
Modifier and Type | Class and Description |
---|---|
static interface |
CameraHandler.ICameraViewer |
Modifier and Type | Field and Description |
---|---|
static int |
MSG_SET_SURFACE_TEXTURE |
Constructor and Description |
---|
CameraHandler(CameraHandler.ICameraViewer cameraViewer) |
Modifier and Type | Method and Description |
---|---|
void |
handleMessage(android.os.Message inputMessage) |
void |
invalidateHandler()
Drop the reference to the activity.
|
createAsync, createAsync, dispatchMessage, dump, getLooper, getMessageName, hasCallbacks, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString
public static final int MSG_SET_SURFACE_TEXTURE
public CameraHandler(CameraHandler.ICameraViewer cameraViewer)
public void invalidateHandler()
public void handleMessage(android.os.Message inputMessage)
handleMessage
in class android.os.Handler