Package io.flutter.plugin.platform
Class SurfaceProducerPlatformViewRenderTarget
java.lang.Object
io.flutter.plugin.platform.SurfaceProducerPlatformViewRenderTarget
- All Implemented Interfaces:
PlatformViewRenderTarget
public class SurfaceProducerPlatformViewRenderTarget
extends Object
implements PlatformViewRenderTarget
-
Constructor Details
-
SurfaceProducerPlatformViewRenderTarget
-
-
Method Details
-
resize
public void resize(int width, int height) - Specified by:
resize
in interfacePlatformViewRenderTarget
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfacePlatformViewRenderTarget
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfacePlatformViewRenderTarget
-
getId
public long getId()- Specified by:
getId
in interfacePlatformViewRenderTarget
-
release
public void release()- Specified by:
release
in interfacePlatformViewRenderTarget
-
isReleased
public boolean isReleased()- Specified by:
isReleased
in interfacePlatformViewRenderTarget
-
getSurface
- Specified by:
getSurface
in interfacePlatformViewRenderTarget
-
scheduleFrame
public void scheduleFrame()- Specified by:
scheduleFrame
in interfacePlatformViewRenderTarget
-