
/**
 * 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.ReadableArray;
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 NativeSmartlookAnalyticsSpec extends ReactContextBaseJavaModule implements TurboModule {
  public static final String NAME = "SmartlookAnalytics";

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

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

  @ReactMethod
  @DoNotStrip
  public abstract void start();

  @ReactMethod
  @DoNotStrip
  public abstract void stop();

  @ReactMethod
  @DoNotStrip
  public abstract void reset();

  @ReactMethod
  @DoNotStrip
  public abstract void trackEvent(String eventName, @Nullable ReadableMap props);

  @ReactMethod
  @DoNotStrip
  public abstract void trackSelector(String selectorName, @Nullable ReadableMap props);

  @ReactMethod
  @DoNotStrip
  public abstract void trackNavigationEnter(String eventName, @Nullable ReadableMap props);

  @ReactMethod
  @DoNotStrip
  public abstract void trackNavigationExit(String eventName, @Nullable ReadableMap props);

  @ReactMethod
  @DoNotStrip
  public abstract void setReferrer(String referrer, String source);

  @ReactMethod
  @DoNotStrip
  public abstract void putStringEventProperty(String propertyName, String value);

  @ReactMethod
  @DoNotStrip
  public abstract void getStringEventProperty(String propertyName, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void removeEventProperty(String propertyName);

  @ReactMethod
  @DoNotStrip
  public abstract void clearEventProperties();

  @ReactMethod
  @DoNotStrip
  public abstract void setUserIdentifier(String identifier);

  @ReactMethod
  @DoNotStrip
  public abstract void setUserName(String name);

  @ReactMethod
  @DoNotStrip
  public abstract void setUserEmail(String email);

  @ReactMethod
  @DoNotStrip
  public abstract void setUserProperty(String propertyName, String value);

  @ReactMethod
  @DoNotStrip
  public abstract void getUserProperty(String propertyName, Promise promise);

  @ReactMethod
  @DoNotStrip
  public abstract void removeUserProperty(String propertyName);

  @ReactMethod
  @DoNotStrip
  public abstract void openNewUser();

  @ReactMethod
  @DoNotStrip
  public abstract void openNewSession();

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

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

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

  @ReactMethod
  @DoNotStrip
  public abstract void setRelayProxyHost(String relaxyProxyHost);

  @ReactMethod
  @DoNotStrip
  public abstract void setFrameRate(double frameRate);

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

  @ReactMethod
  @DoNotStrip
  public abstract void setJobUploadEnabled(boolean isEnabled);

  @ReactMethod
  @DoNotStrip
  public abstract void setAdaptiveFrameRateEnabled(boolean isEnabled);

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

  @ReactMethod
  @DoNotStrip
  public abstract void eventTrackingEnableAll();

  @ReactMethod
  @DoNotStrip
  public abstract void eventTrackingDisableAll();

  @ReactMethod
  @DoNotStrip
  public abstract void setProjectKey(String key);

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

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

  @ReactMethod
  @DoNotStrip
  public abstract void setEventTrackingInteractionUserStatus(boolean isEnabled);

  @ReactMethod
  @DoNotStrip
  public abstract void setEventTrackingInteractionRageClickStatus(boolean isEnabled);

  @ReactMethod
  @DoNotStrip
  public abstract void restoreDefault();

  @ReactMethod
  @DoNotStrip
  public abstract void setWebViewSensitivity(boolean isSensitive);

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

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

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

  @ReactMethod
  @DoNotStrip
  public abstract void setRenderingMode(double renderingMode);

  @ReactMethod
  @DoNotStrip
  public abstract void setupAndRegisterBridgeInterface(String frameworkVersion, String pluginVersion);

  @ReactMethod
  @DoNotStrip
  public abstract void registerUserUrlChangedListener();

  @ReactMethod
  @DoNotStrip
  public abstract void registerSessionUrlChangedListener();

  @ReactMethod
  @DoNotStrip
  public abstract void registerRenderingModeChangedListener();

  @ReactMethod
  @DoNotStrip
  public abstract void registerRecordingStatusChangedListener();

  @ReactMethod
  @DoNotStrip
  public abstract void removeUserUrlChangedListener();

  @ReactMethod
  @DoNotStrip
  public abstract void removeSessionUrlChangedListener();

  @ReactMethod
  @DoNotStrip
  public abstract void removeRenderingModeChangedListener();

  @ReactMethod
  @DoNotStrip
  public abstract void removeRecordingStatusChangedListener();

  @ReactMethod
  @DoNotStrip
  public abstract void setRecordingMask(ReadableArray recordingMaskList);

  @ReactMethod
  @DoNotStrip
  public abstract void enableDefaultClassSensitivity();

  @ReactMethod
  @DoNotStrip
  public abstract void disableDefaultClassSensitivity();

  @ReactMethod
  @DoNotStrip
  public abstract void changePlatformClassSensitivity(ReadableArray classNameValueTuples);

  @ReactMethod
  @DoNotStrip
  public abstract void eventTrackingNavigationEnableAll();

  @ReactMethod
  @DoNotStrip
  public abstract void eventTrackingNavigationDisableAll();

  @ReactMethod
  @DoNotStrip
  public abstract void setEventTrackingNavigationActivityStatus(boolean isEnabled);

  @ReactMethod
  @DoNotStrip
  public abstract void setEventTrackingNavigationFragmentStatus(boolean isEnabled);

  @ReactMethod
  @DoNotStrip
  public abstract void eventTrackingInteractionEnableAll();

  @ReactMethod
  @DoNotStrip
  public abstract void eventTrackingInteractionDisableAll();

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