Package com.github.twitch4j.helix.interceptor
package com.github.twitch4j.helix.interceptor
-
ClassDescriptionSerializes
Collection<ContentClassificationState>withinChannelInformationforTwitchHelix.updateChannelInformation(String, String, ChannelInformation)whereContentClassification.MATURE_GAMEis not included inChannelInformation.getContentClassificationLabels()since this label is controlled by the game category (rather than the user).When serializingCustomRewardforTwitchHelix.createCustomReward(String, String, CustomReward)orTwitchHelix.updateCustomReward(String, String, String, CustomReward), Twitch requires MaxPerStreamSetting, MaxPerUserPerStreamSetting, and GlobalCooldownSetting to be sent unwrapped (i.e., in the root of the object).Injects ClientId Header, the User Agent and other common headers into each API Request