5 #ifndef SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTDELEGATE_H_
6 #define SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTDELEGATE_H_
8 #import <Foundation/Foundation.h>
13 typedef NS_ENUM(NSInteger, FlutterTextInputAction) {
14 FlutterTextInputActionUnspecified,
15 FlutterTextInputActionDone,
16 FlutterTextInputActionGo,
17 FlutterTextInputActionSend,
18 FlutterTextInputActionSearch,
19 FlutterTextInputActionNext,
20 FlutterTextInputActionContinue,
21 FlutterTextInputActionJoin,
22 FlutterTextInputActionRoute,
23 FlutterTextInputActionEmergencyCall,
24 FlutterTextInputActionNewline,
27 typedef NS_ENUM(NSInteger, FlutterFloatingCursorDragState) {
28 FlutterFloatingCursorDragStateStart,
29 FlutterFloatingCursorDragStateUpdate,
30 FlutterFloatingCursorDragStateEnd,
35 updateEditingClient:(
int)client
36 withState:(NSDictionary*)state;
38 updateEditingClient:(
int)client
39 withState:(NSDictionary*)state
40 withTag:(NSString*)tag;
42 updateEditingClient:(
int)client
43 withDelta:(NSDictionary*)state;
45 performAction:(FlutterTextInputAction)action
46 withClient:(
int)client;
48 updateFloatingCursor:(FlutterFloatingCursorDragState)state
49 withClient:(
int)client
50 withPosition:(NSDictionary*)point;
52 showAutocorrectionPromptRectForStart:(NSUInteger)start
54 withClient:(
int)client;
59 insertTextPlaceholderWithSize:(CGSize)size
60 withClient:(
int)client;
61 - (void)flutterTextInputView:(
FlutterTextInputView*)textInputView removeTextPlaceholder:(
int)client;
63 didResignFirstResponderWithTextInputClient:(
int)client;
66 #endif // SHELL_PLATFORM_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTDELEGATE_H_