Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
io.flutter.view.FlutterView.Provider Interface Reference
Inheritance diagram for io.flutter.view.FlutterView.Provider:
io.flutter.app.FlutterActivity io.flutter.app.FlutterActivityDelegate io.flutter.app.FlutterFragmentActivity

Public Member Functions

FlutterView getFlutterView ()
 

Detailed Description

Interface for those objects that maintain and expose a reference to a FlutterView (such as a full-screen Flutter activity).

This indirection is provided to support applications that use an activity other than io.flutter.app.FlutterActivity (e.g. Android v4 support library's FragmentActivity). It allows Flutter plugins to deal in this interface and not require that the activity be a subclass of FlutterActivity.

Definition at line 96 of file FlutterView.java.

Member Function Documentation

◆ getFlutterView()

FlutterView io.flutter.view.FlutterView.Provider.getFlutterView ( )

Returns a reference to the Flutter view maintained by this object. This may be null.

Returns
a reference to the Flutter view maintained by this object.

Implemented in io.flutter.app.FlutterActivity, io.flutter.app.FlutterActivityDelegate, and io.flutter.app.FlutterFragmentActivity.


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