◆ SurfaceTexturePlatformViewRenderTarget()
io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget.SurfaceTexturePlatformViewRenderTarget |
( |
SurfaceTextureEntry |
surfaceTextureEntry | ) |
|
|
inline |
Implementation of PlatformViewRenderTarget
Definition at line 60 of file SurfaceTexturePlatformViewRenderTarget.java.
60 {
61 if (
Build.VERSION.SDK_INT < API_LEVELS.API_23) {
62 throw new UnsupportedOperationException(
63 "Platform views cannot be displayed below API level 23"
64 + "You can prevent this issue by setting `minSdkVersion: 23` in build.gradle.");
65 }
66 this.surfaceTextureEntry = surfaceTextureEntry;
69 }
SurfaceTexture surfaceTexture()
default void setOnTrimMemoryListener(@Nullable OnTrimMemoryListener listener)
def Build(configs, env, options)
◆ createSurface()
Surface io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget.createSurface |
( |
| ) |
|
|
inlineprotected |
◆ getHeight()
int io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget.getHeight |
( |
| ) |
|
|
inline |
◆ getId()
long io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget.getId |
( |
| ) |
|
|
inline |
◆ getSurface()
Surface io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget.getSurface |
( |
| ) |
|
|
inline |
◆ getWidth()
int io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget.getWidth |
( |
| ) |
|
|
inline |
◆ isReleased()
boolean io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget.isReleased |
( |
| ) |
|
|
inline |
◆ release()
void io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget.release |
( |
| ) |
|
|
inline |
◆ resize()
void io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget.resize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: