All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wtf.emulator.data.DeviceSpec Maven / Gradle / Ivy

Go to download

With this Gradle plugin you can run your Android instrumentation tests with emulator.wtf

The newest version!
package wtf.emulator.data;

import com.google.auto.value.AutoValue;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;

@AutoValue public abstract class DeviceSpec {
  public abstract String model();
  public abstract int api();
  public abstract GpuMode gpuMode();

  public static Builder builder() {
    return new AutoValue_DeviceSpec.Builder();
  }

  @AutoValue.Builder
  public abstract static class Builder {
    public abstract Builder model(String model);
    public abstract Builder api(int api);
    public abstract Builder gpuMode(GpuMode gpuMode);
    public abstract DeviceSpec build();
  }

  public static TypeAdapter typeAdapter(Gson gson) {
    return new AutoValue_DeviceSpec.GsonTypeAdapter(gson);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy