104 NSString* method =
call.method;
106 if ([method isEqualToString:@"SystemSound.play"]) {
107 [self playSystemSound:args];
109 } else if ([method isEqualToString:@"HapticFeedback.vibrate"]) {
110 [self vibrateHapticFeedback:args];
112 } else if ([method isEqualToString:@"SystemChrome.setPreferredOrientations"]) {
113 [self setSystemChromePreferredOrientations:args];
115 } else if ([method isEqualToString:@"SystemChrome.setApplicationSwitcherDescription"]) {
116 [self setSystemChromeApplicationSwitcherDescription:args];
118 } else if ([method isEqualToString:@"SystemChrome.setEnabledSystemUIOverlays"]) {
119 [self setSystemChromeEnabledSystemUIOverlays:args];
121 } else if ([method isEqualToString:@"SystemChrome.setEnabledSystemUIMode"]) {
122 [self setSystemChromeEnabledSystemUIMode:args];
124 } else if ([method isEqualToString:@"SystemChrome.restoreSystemUIOverlays"]) {
125 [self restoreSystemChromeSystemUIOverlays];
127 } else if ([method isEqualToString:@"SystemChrome.setSystemUIOverlayStyle"]) {
128 [self setSystemChromeSystemUIOverlayStyle:args];
130 } else if ([method isEqualToString:@"SystemNavigator.pop"]) {
131 NSNumber* isAnimated =
args;
132 [self popSystemNavigator:isAnimated.boolValue];
134 } else if ([method isEqualToString:@"Clipboard.getData"]) {
136 } else if ([method isEqualToString:@"Clipboard.setData"]) {
137 [self setClipboardData:args];
139 } else if ([method isEqualToString:@"Clipboard.hasStrings"]) {
141 } else if ([method isEqualToString:@"LiveText.isLiveTextInputAvailable"]) {
143 } else if ([method isEqualToString:@"SearchWeb.invoke"]) {
144 [self searchWeb:args];
146 } else if ([method isEqualToString:@"LookUp.invoke"]) {
147 [self showLookUpViewController:args];
149 } else if ([method isEqualToString:@"Share.invoke"]) {
150 [self showShareViewController:args];
152 } else if ([method isEqualToString:@"ContextMenu.showSystemContextMenu"]) {
153 [self showSystemContextMenu:args];
155 } else if ([method isEqualToString:@"ContextMenu.hideSystemContextMenu"]) {
156 [self hideSystemContextMenu];
158 } else {
160 }
161}
void(^ FlutterResult)(id _Nullable result)
FLUTTER_DARWIN_EXPORT NSObject const * FlutterMethodNotImplemented
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args