mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-28 17:29:39 -05:00
Compare commits
2 Commits
develop-1.
...
1.10.7-Rel
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54b0216bf3 | ||
|
|
4443fbe554 |
@@ -52,6 +52,7 @@ public class LiveData {
|
||||
public enum LiveStatus {
|
||||
HostNotFound,
|
||||
HostOnline,
|
||||
HostPaused,
|
||||
HostOffline,
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@ public class LiveDataMapper {
|
||||
var statusId = status.getAsInt();
|
||||
var statusValue = switch (statusId) {
|
||||
case 2 -> LiveData.LiveStatus.HostOnline;
|
||||
case 3 -> LiveData.LiveStatus.HostPaused;
|
||||
case 4 -> LiveData.LiveStatus.HostOffline;
|
||||
default -> LiveData.LiveStatus.HostNotFound;
|
||||
};
|
||||
|
||||
3
pom.xml
3
pom.xml
@@ -78,7 +78,6 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
@@ -110,7 +109,7 @@
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<version>RELEASE</version>
|
||||
<version>5.9.3</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user