Interface UiHelper.RendererCallback
-
- Enclosing class:
- UiHelper
public static interface UiHelper.RendererCallbackInterface used to know when the native surface is created, destroyed or resized.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonDetachedFromSurface()Called when the surface is going away.voidonNativeWindowChanged(android.view.Surface surface)Called when the underlying native window has changed.voidonResized(int width, int height)Called when the underlying native window has been resized.
-
-
-
Method Detail
-
onNativeWindowChanged
void onNativeWindowChanged(android.view.Surface surface)
Called when the underlying native window has changed.
-
onDetachedFromSurface
void onDetachedFromSurface()
Called when the surface is going away. After this callisReadyToRender()returns false. You MUST have stopped drawing when returning. This is called from detach() or if the surface disappears on its own.
-
onResized
void onResized(int width, int height)Called when the underlying native window has been resized.
-
-