Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public enum PerformanceEvent {
LOAD_EVENT_END ("loadEventEnd"),
NAVIGATION_START ("navigationStart");
private final String event;
PerformanceEvent(String event) {
this.event = event;
}
@Override
public String toString() {
return this.event;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment