Flutter Engine
 
Loading...
Searching...
No Matches
<FlutterSceneLifeCycleProvider> Protocol Reference

#include <FlutterSceneLifeCycle.h>

Inheritance diagram for <FlutterSceneLifeCycleProvider>:
FlutterSceneDelegate() TestSceneLifecycleProvider

Properties

FlutterPluginSceneLifeCycleDelegatesceneLifeCycleDelegate
 

Detailed Description

A protocol for UIWindowSceneDelegate objects that vend a FlutterPluginSceneLifeCycleDelegate.

By conforming to this protocol, a UIWindowSceneDelegate can vend a FlutterPluginSceneLifeCycleDelegate that can be used to forward scene life-cycle events to Flutter plugins.

This is typically implemented by the app's SceneDelegate, as a FlutterSceneLifeCycleProvider is associated with one and only one UIScene.

Definition at line 214 of file FlutterSceneLifeCycle.h.

Property Documentation

◆ sceneLifeCycleDelegate

- (FlutterPluginSceneLifeCycleDelegate*) sceneLifeCycleDelegate
readnonatomicassign

The FlutterPluginSceneLifeCycleDelegate instance for forwarding UIScene events to plugins associated with this UIScene.

The implementer of this protocol is responsible for creating the FlutterPluginSceneLifeCycleDelegate object, as well as forwarding UIScene events to plugins by calling the corresponding methods defined on FlutterPluginSceneLifeCycleDelegate.

The FlutterPluginSceneLifeCycleDelegate implementation is stateful. For this reason, this property getter should typically always return the same object.

Definition at line 228 of file FlutterSceneLifeCycle.h.


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