
/**
 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
 *
 * Do not edit this file as changes may cause incorrect behavior and will be lost
 * once the code is regenerated.
 *
 * @generated by codegen project: GenerateModuleJavaSpec.js
 *
 * @nolint
 */

package com.facebook.fbreact.specs;

import com.facebook.proguard.annotations.DoNotStrip;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;

public abstract class NativeUnimpSpec extends ReactContextBaseJavaModule implements TurboModule {
  public static final String NAME = "Unimp";

  public NativeUnimpSpec(ReactApplicationContext reactContext) {
    super(reactContext);
  }

  @Override
  public @Nonnull String getName() {
    return NAME;
  }

  @ReactMethod
  @DoNotStrip
  public abstract void initialize(ReadableMap params, @Nullable ReadableMap capsuleBtnStyle, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void isInitialize(Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void getAppBasePath(@Nullable String appid, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void releaseWgtToRunPath(String appid, @Nullable String wgtPath, @Nullable String password, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void isExistsApp(String appid, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void getWgtPath(String appid, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void openUniMP(String appid, @Nullable ReadableMap configuration, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void closeUniMP(String appid, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void showOrHideUniMP(String appid, boolean show, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void sendUniMPEvent(String appid, String eventName, ReadableMap data, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void getAppVersionInfo(String appid, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void getCurrentPageUrl(String appid, Promise promise);

  @ReactMethod
  @DoNotStrip
  public void getUniMPRunPathWithAppid(String appid, Promise promise) {}

  @ReactMethod
  @DoNotStrip
  public void getResourceFilePath(String appid, Promise promise) {}

  @ReactMethod
  @DoNotStrip
  public abstract void setDefMenuButtonClickCallBack();

  @ReactMethod
  @DoNotStrip
  public abstract void setUniMPOnCloseCallBack();

  @ReactMethod
  @DoNotStrip
  public abstract void setCapsuleCloseButtonClickCallBack();

  @ReactMethod
  @DoNotStrip
  public abstract void setOnUniMPEventCallBack();
}
