Class EventSubConditionConverter
java.lang.Object
com.github.twitch4j.eventsub.util.EventSubConditionConverter
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventSubCondition
getCondition
(SubscriptionType<?, ?, ?> type, Map<String, Object> condition) static <T extends EventSubCondition>
TgetCondition
(Class<T> conditionClass, Map<String, Object> condition) static EventSubCondition
-
Method Details
-
getCondition
public static <T extends EventSubCondition> T getCondition(Class<T> conditionClass, Map<String, Object> condition) -
getCondition
-
getCondition
public static EventSubCondition getCondition(SubscriptionType<?, ?, ?> type, Map<String, Object> condition)
-