A new Android window for RenderSessionHandle.setAndroidSurfaceTarget().
RenderSessionHandle.setAndroidSurfaceTarget()
Name the window by window, or by jni_env and surface. The session takes its own reference to the window, so you can release yours once the call returns.
window
jni_env
surface
See mln_android_surface_replacement in the C API reference.
mln_android_surface_replacement
Optional
The calling thread's JNIEnv*, with surface.
JNIEnv*
An android.view.Surface, with jni_env.
android.view.Surface
Your ANativeWindow*, or null to name the window by surface.
ANativeWindow*
A new Android window for
RenderSessionHandle.setAndroidSurfaceTarget().Name the window by
window, or byjni_envandsurface. The session takes its own reference to the window, so you can release yours once the call returns.See
mln_android_surface_replacementin the C API reference.