
com.elypia.elypiai.twitch.data.StreamType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of twitch Show documentation
Show all versions of twitch Show documentation
Wrappers for many APIs available online from various services.
The newest version!
package com.elypia.elypiai.twitch.data;
import com.google.gson.annotations.SerializedName;
public enum StreamType {
@SerializedName("live")
LIVE("live"),
@SerializedName("vodcast")
VODCAST("vodcast");
private final String NAME;
StreamType(final String name) {
NAME = name;
}
public String getName() {
return NAME;
}
public static StreamType get(String name) {
for (StreamType type : values()) {
if (type.NAME.equals(name))
return type;
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy