Flutter Engine
The Flutter Engine
|
#include <embedder.h>
Public Attributes | |
size_t | struct_size |
FlutterViewId | view_id |
void * | user_data |
FlutterRemoveViewCallback | remove_view_callback |
Definition at line 936 of file embedder.h.
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.
size_t FlutterRemoveViewInfo::struct_size |
The size of this struct. Must be sizeof(FlutterRemoveViewInfo).
Definition at line 939 of file embedder.h.
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.
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.