The Developer Preview for Android 11 is now available; test it out and share your feedback.

TextureViewImplementation

public class TextureViewImplementation
extends Object

java.lang.Object
   ↳ androidx.camera.view.TextureViewImplementation


The TextureView implementation for PreviewView

Summary

Public constructors

TextureViewImplementation()

Public methods

Preview.SurfaceProvider getSurfaceProvider()
void init(FrameLayout parent)
void onDisplayChanged()

Inherited methods

Public constructors

TextureViewImplementation

public TextureViewImplementation ()

Public methods

getSurfaceProvider

public Preview.SurfaceProvider getSurfaceProvider ()

Returns
Preview.SurfaceProvider

init

public void init (FrameLayout parent)

Parameters
parent FrameLayout

onDisplayChanged

public void onDisplayChanged ()