org.openqa.selenium.devtools.v90.webaudio.model.GraphObjectId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-devtools-v90 Show documentation
Show all versions of selenium-devtools-v90 Show documentation
Selenium automates browsers. That's it! What you do with that power is entirely up to you.
package org.openqa.selenium.devtools.v90.webaudio.model;
import org.openqa.selenium.Beta;
import org.openqa.selenium.json.JsonInput;
/**
* An unique ID for a graph object (AudioContext, AudioNode, AudioParam) in Web Audio API
*/
public class GraphObjectId {
private final java.lang.String graphObjectId;
public GraphObjectId(java.lang.String graphObjectId) {
this.graphObjectId = java.util.Objects.requireNonNull(graphObjectId, "Missing value for GraphObjectId");
}
private static GraphObjectId fromJson(JsonInput input) {
return new GraphObjectId(input.nextString());
}
public String toJson() {
return graphObjectId.toString();
}
public String toString() {
return graphObjectId.toString();
}
}