Class PlatformViewsChannel.PlatformViewCreationRequest
- java.lang.Object
- 
- io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewCreationRequest
 
- 
- Enclosing class:
- PlatformViewsChannel
 
 public static class PlatformViewsChannel.PlatformViewCreationRequest extends Object Request sent from Flutter to create a new platform view.
- 
- 
Field SummaryFields Modifier and Type Field Description intdirectionThe layout direction of the new platform view.doublelogicalHeightThe density independent height to display the platform view.doublelogicalLeftThe density independent left position to display the platform view.doublelogicalTopThe density independent top position to display the platform view.doublelogicalWidthThe density independent width to display the platform view.ByteBufferparamsCustom parameters that are unique to the desired platform view.intviewIdThe ID of the platform view as seen by the Flutter side.StringviewTypeThe type of AndroidViewto create for this platform view.
 - 
Constructor SummaryConstructors Constructor Description PlatformViewCreationRequest(int viewId, String viewType, double logicalTop, double logicalLeft, double logicalWidth, double logicalHeight, int direction, ByteBuffer params)Creates a request to construct a platform view.
 
- 
- 
- 
Field Detail- 
viewIdpublic final int viewId The ID of the platform view as seen by the Flutter side.
 - 
viewType@NonNull public final String viewType The type of AndroidViewto create for this platform view.
 - 
logicalWidthpublic final double logicalWidth The density independent width to display the platform view.
 - 
logicalHeightpublic final double logicalHeight The density independent height to display the platform view.
 - 
logicalToppublic final double logicalTop The density independent top position to display the platform view.
 - 
logicalLeftpublic final double logicalLeft The density independent left position to display the platform view.
 - 
directionpublic final int direction The layout direction of the new platform view.
 - 
params@Nullable public final ByteBuffer params Custom parameters that are unique to the desired platform view.
 
- 
 - 
Constructor Detail- 
PlatformViewCreationRequestpublic PlatformViewCreationRequest(int viewId, @NonNull String viewType, double logicalTop, double logicalLeft, double logicalWidth, double logicalHeight, int direction, @Nullable ByteBuffer params)Creates a request to construct a platform view.
 
- 
 
-