Skip to content

Commit

Permalink
Fixed FlutterPlugin.h doxygen. (flutter#16945)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaaclarke authored Mar 5, 2020
1 parent 7381ca8 commit ec68bd6
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions shell/platform/darwin/ios/framework/Headers/FlutterPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
@protocol FlutterPluginRegistry;

#pragma mark -
/***************************************************************************************************
/**
* Protocol for listener of events from the UIApplication, typically a FlutterPlugin.
*/
@protocol FlutterApplicationLifeCycleDelegate
Expand Down Expand Up @@ -165,7 +165,7 @@ NS_ASSUME_NONNULL_BEGIN
@end

#pragma mark -
/***************************************************************************************************
/**
* A plugin registration callback.
*
* Used for registering plugins with additional instances of
Expand All @@ -176,7 +176,7 @@ NS_ASSUME_NONNULL_BEGIN
typedef void (*FlutterPluginRegistrantCallback)(NSObject<FlutterPluginRegistry>* registry);

#pragma mark -
/***************************************************************************************************
/**
* Implemented by the iOS part of a Flutter plugin.
*
* Defines a set of optional callback methods and a method to set up the plugin
Expand Down Expand Up @@ -239,7 +239,7 @@ typedef void (*FlutterPluginRegistrantCallback)(NSObject<FlutterPluginRegistry>*
@end

#pragma mark -
/***************************************************************************************************
/**
* How the UIGestureRecognizers of a platform view are blocked.
*
* UIGestureRecognizers of platform views can be blocked based on decisions made by the
Expand All @@ -265,14 +265,14 @@ typedef enum {
} FlutterPlatformViewGestureRecognizersBlockingPolicy;

#pragma mark -
/***************************************************************************************************
*Registration context for a single `FlutterPlugin`, providing a one stop shop
*for the plugin to access contextual information and register callbacks for
*various application events.
/**
* Registration context for a single `FlutterPlugin`, providing a one stop shop
* for the plugin to access contextual information and register callbacks for
* various application events.
*
*Registrars are obtained from a `FlutterPluginRegistry` which keeps track of
*the identity of registered plugins and provides basic support for cross-plugin
*coordination.
* Registrars are obtained from a `FlutterPluginRegistry` which keeps track of
* the identity of registered plugins and provides basic support for cross-plugin
* coordination.
*/
@protocol FlutterPluginRegistrar <NSObject>
/**
Expand Down Expand Up @@ -373,7 +373,7 @@ typedef enum {
@end

#pragma mark -
/***************************************************************************************************
/**
* A registry of Flutter iOS plugins.
*
* Plugins are identified by unique string keys, typically the name of the
Expand Down Expand Up @@ -419,7 +419,7 @@ typedef enum {
@end

#pragma mark -
/***************************************************************************************************
/**
* Implement this in the `UIAppDelegate` of your app to enable Flutter plugins to register
* themselves to the application life cycle events.
*
Expand All @@ -430,6 +430,12 @@ typedef enum {
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
<UNUserNotificationCenterDelegate>
#endif

/**
* Called when registering a new `FlutterApplicaitonLifeCycleDelegate`.
*
* See also: `-[FlutterAppDelegate addApplicationLifeCycleDelegate:]`
*/
- (void)addApplicationLifeCycleDelegate:(NSObject<FlutterApplicationLifeCycleDelegate>*)delegate;
@end

Expand Down

0 comments on commit ec68bd6

Please sign in to comment.