接口修改

master
kangxuyao 2021-02-07 18:29:17 +08:00
parent d490c0a271
commit cd998489cb
1 changed files with 6 additions and 5 deletions

View File

@ -159,10 +159,11 @@ public class AppletHandlerModule extends BaseApi {
} }
@Override @Override
public void onRegisteredMoreMenuItemClicked(@NotNull String s,String path, int i) { public void onRegisteredMoreMenuItemClicked(@NotNull String appId, @NotNull String path, @NotNull String menuItemId, @Nullable String appInfo, @Nullable Bitmap bitmap, @NotNull IAppletCallback iAppletCallback) {
Map<String, Object> params = new HashMap<>(); Map<String, Object> params = new HashMap<>();
params.put("appId", s); params.put("appId", appId);
params.put("menuId", i); params.put("menuId", menuItemId);
handler.post(() -> { handler.post(() -> {
channel.invokeMethod("extensionApi:onCustomMenuClick", params); channel.invokeMethod("extensionApi:onCustomMenuClick", params);
}); });