public abstract class GuardedChoreographerFrameCallback
extends java.lang.Object
implements android.view.Choreographer.FrameCallback
NativeModuleCallExceptionHandler registered if
the app is in dev mode.| Modifier | Constructor and Description |
|---|---|
protected |
GuardedChoreographerFrameCallback(ReactContext reactContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
doFrame(long frameTimeNanos) |
protected abstract void |
doFrameGuarded(long frameTimeNanos)
Like the standard doFrame but RuntimeExceptions will be caught and passed to
ReactContext.handleException(RuntimeException). |
protected GuardedChoreographerFrameCallback(ReactContext reactContext)
public final void doFrame(long frameTimeNanos)
doFrame in interface android.view.Choreographer.FrameCallbackprotected abstract void doFrameGuarded(long frameTimeNanos)
ReactContext.handleException(RuntimeException).