Package io.flutter.plugin.platform
Class SurfaceTexturePlatformViewRenderTarget
java.lang.Object
io.flutter.plugin.platform.SurfaceTexturePlatformViewRenderTarget
- All Implemented Interfaces:
PlatformViewRenderTarget
public class SurfaceTexturePlatformViewRenderTarget
extends Object
implements PlatformViewRenderTarget
-
Constructor Summary
ConstructorsConstructorDescriptionSurfaceTexturePlatformViewRenderTarget(TextureRegistry.SurfaceTextureEntry surfaceTextureEntry) Implementation of PlatformViewRenderTarget -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.flutter.plugin.platform.PlatformViewRenderTarget
scheduleFrame
-
Constructor Details
-
SurfaceTexturePlatformViewRenderTarget
public SurfaceTexturePlatformViewRenderTarget(TextureRegistry.SurfaceTextureEntry surfaceTextureEntry) Implementation of PlatformViewRenderTarget
-
-
Method Details
-
createSurface
-
resize
public void resize(int width, int height) - Specified by:
resizein interfacePlatformViewRenderTarget
-
getWidth
public int getWidth()- Specified by:
getWidthin interfacePlatformViewRenderTarget
-
getHeight
public int getHeight()- Specified by:
getHeightin interfacePlatformViewRenderTarget
-
getId
public long getId()- Specified by:
getIdin interfacePlatformViewRenderTarget
-
isReleased
public boolean isReleased()- Specified by:
isReleasedin interfacePlatformViewRenderTarget
-
release
public void release()- Specified by:
releasein interfacePlatformViewRenderTarget
-
getSurface
- Specified by:
getSurfacein interfacePlatformViewRenderTarget
-