5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTDELEGATE_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTDELEGATE_H_
8#import <Foundation/Foundation.h>
13typedef NS_ENUM(NSInteger, FlutterTextInputAction) {
15 FlutterTextInputActionUnspecified,
16 FlutterTextInputActionDone,
17 FlutterTextInputActionGo,
18 FlutterTextInputActionSend,
19 FlutterTextInputActionSearch,
20 FlutterTextInputActionNext,
21 FlutterTextInputActionContinue,
22 FlutterTextInputActionJoin,
23 FlutterTextInputActionRoute,
24 FlutterTextInputActionEmergencyCall,
25 FlutterTextInputActionNewline,
29typedef NS_ENUM(NSInteger, FlutterFloatingCursorDragState) {
31 FlutterFloatingCursorDragStateStart,
32 FlutterFloatingCursorDragStateUpdate,
33 FlutterFloatingCursorDragStateEnd,
39 updateEditingClient:(
int)client
40 withState:(NSDictionary*)state;
42 updateEditingClient:(
int)client
43 withState:(NSDictionary*)state
44 withTag:(NSString*)tag;
46 updateEditingClient:(
int)client
47 withDelta:(NSDictionary*)state;
49 performAction:(FlutterTextInputAction)action
50 withClient:(
int)client;
52 updateFloatingCursor:(FlutterFloatingCursorDragState)state
53 withClient:(
int)client
54 withPosition:(NSDictionary*)point;
56 showAutocorrectionPromptRectForStart:(NSUInteger)start
58 withClient:(
int)client;
63 insertTextPlaceholderWithSize:(CGSize)size
64 withClient:(
int)client;
65- (void)flutterTextInputView:(
FlutterTextInputView*)textInputView removeTextPlaceholder:(
int)client;
67 didResignFirstResponderWithTextInputClient:(
int)client;
69 willDismissEditMenuWithTextInputClient:(
int)client;
typedef NS_ENUM(NSInteger, FlutterTextInputAction)