Flutter Engine
The Flutter Engine
Public Attributes | List of all members
FlutterRemoveViewInfo Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 
FlutterViewId view_id
 
void * user_data
 
FlutterRemoveViewCallback remove_view_callback
 

Detailed Description

Definition at line 936 of file embedder.h.

Member Data Documentation

◆ remove_view_callback

FlutterRemoveViewCallback FlutterRemoveViewInfo::remove_view_callback

Called once the engine has attempted to remove the view. This callback is required.

The embedder must not destroy the underlying surface until the callback is invoked with a removed value of true.

This callback is invoked on an internal engine managed thread. Embedders must re-thread if necessary.

The |result| argument will be deallocated when the callback returns.

Definition at line 961 of file embedder.h.

◆ struct_size

size_t FlutterRemoveViewInfo::struct_size

The size of this struct. Must be sizeof(FlutterRemoveViewInfo).

Definition at line 939 of file embedder.h.

◆ user_data

void* FlutterRemoveViewInfo::user_data

A baton that is not interpreted by the engine in any way. It will be given back to the embedder in |remove_view_callback|. Embedder resources may be associated with this baton.

Definition at line 949 of file embedder.h.

◆ view_id

FlutterViewId FlutterRemoveViewInfo::view_id

The identifier for the view to remove.

The implicit view cannot be removed if it is enabled.

Definition at line 944 of file embedder.h.


The documentation for this struct was generated from the following file: