mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-27 16:59:39 -05:00
Renamed Priority.priorityValue to value to follow enum standards
Clarified message in TikTokEventListener
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package io.github.jwdeveloper.tiktok.annotations;
|
||||
|
||||
/**
|
||||
* HIGHEST 1
|
||||
* HIGH 2
|
||||
@@ -6,13 +7,12 @@ package io.github.jwdeveloper.tiktok.annotations;
|
||||
* LOW 4
|
||||
* LOWEST 5
|
||||
*/
|
||||
|
||||
public enum Priority {
|
||||
LOWEST(2), LOW(1), NORMAL(0), HIGH(-1), HIGHEST(-2);
|
||||
|
||||
public int priorityValue;
|
||||
public final int value;
|
||||
|
||||
Priority(int value) {
|
||||
this.priorityValue = value;
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
@@ -69,7 +69,7 @@ import io.github.jwdeveloper.tiktok.live.LiveClient;
|
||||
*/
|
||||
//TODO I think this interface can be removed, since we are using,
|
||||
//annotation @TikTokEventHandler to check methods that are events
|
||||
@Deprecated(forRemoval = true, since = "This interface is not longer needed, please remove it from your class")
|
||||
@Deprecated(forRemoval = true, since = "1.8.1 (This interface is not longer needed, please remove it from your class)")
|
||||
public interface TikTokEventListener {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user