您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
32 行
1.1 KiB
32 行
1.1 KiB
#ifndef PLATFORM_IOS_FRAMEWORK_SOURCE_UIWIDGETSTEXTINPUTDELEGATE_H_
|
|
#define PLATFORM_IOS_FRAMEWORK_SOURCE_UIWIDGETSTEXTINPUTDELEGATE_H_
|
|
#import <Foundation/Foundation.h>
|
|
|
|
typedef NS_ENUM(NSInteger, UIWidgetsTextInputAction) {
|
|
UIWidgetsTextInputActionUnspecified,
|
|
UIWidgetsTextInputActionDone,
|
|
UIWidgetsTextInputActionGo,
|
|
UIWidgetsTextInputActionSend,
|
|
UIWidgetsTextInputActionSearch,
|
|
UIWidgetsTextInputActionNext,
|
|
UIWidgetsTextInputActionContinue,
|
|
UIWidgetsTextInputActionJoin,
|
|
UIWidgetsTextInputActionRoute,
|
|
UIWidgetsTextInputActionEmergencyCall,
|
|
UIWidgetsTextInputActionNewline,
|
|
};
|
|
|
|
@protocol UIWidgetsTextInputDelegate <NSObject>
|
|
|
|
- (void)updateEditingClient:(int)client withState:(NSDictionary*)state;
|
|
- (void)performAction:(UIWidgetsTextInputAction)action withClient:(int)client;
|
|
|
|
@end
|
|
|
|
|
|
@interface DefaultUIWidgetsTextInputDelegate : NSObject <UIWidgetsTextInputDelegate>
|
|
- (void)updateEditingClient:(int)client withState:(NSDictionary*)state;
|
|
- (void)performAction:(UIWidgetsTextInputAction)action withClient:(int)client;
|
|
@end
|
|
|
|
#endif // PLATFORM_IOS_FRAMEWORK_SOURCE_UIWIDGETSTEXTINPUTDELEGATE_H_
|