Flutter Engine
The Flutter Engine
|
Public Member Functions | |
boolean | registerViewFactory (@NonNull String viewTypeId, @NonNull PlatformViewFactory factory) |
Registry for platform view factories.
Plugins can register factories for specific view types.
Definition at line 14 of file PlatformViewRegistry.java.
boolean io.flutter.plugin.platform.PlatformViewRegistry.registerViewFactory | ( | @NonNull String | viewTypeId, |
@NonNull PlatformViewFactory | factory | ||
) |
Registers a factory for a platform view.
viewTypeId | unique identifier for the platform view's type. |
factory | factory for creating platform views of the specified type. |