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

org.openqa.selenium.devtools.v90.webaudio.model.GraphObjectId Maven / Gradle / Ivy

Go to download

Selenium automates browsers. That's it! What you do with that power is entirely up to you.

There is a newer version: 4.0.0-beta-4
Show newest version
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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy