
/**
 * 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.metaads;

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.turbomodule.core.interfaces.TurboModule;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;

public abstract class NativeAdSettingsSpec extends ReactContextBaseJavaModule implements TurboModule {
  public static final String NAME = "AdSettings";

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

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

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

  @ReactMethod(isBlockingSynchronousMethod = true)
  @DoNotStrip
  public abstract boolean isInitialized();

  @ReactMethod
  @DoNotStrip
  public abstract void addTestDevice(String deviceHash);

  @ReactMethod(isBlockingSynchronousMethod = true)
  @DoNotStrip
  public abstract String getCurrentDeviceHash();

  @ReactMethod
  @DoNotStrip
  public abstract void clearTestDevices();

  @ReactMethod
  @DoNotStrip
  public abstract void setDataProcessingOptions(ReadableArray options, @Nullable Double country, @Nullable Double state);

  @ReactMethod
  @DoNotStrip
  public void setLogLevel(String level) {}

  @ReactMethod
  @DoNotStrip
  public void setAdvertiserIDCollectionEnabled(boolean enabled) {}

  @ReactMethod
  @DoNotStrip
  public void setAdvertiserTrackingEnabled(boolean enabled) {}
}
