Class PlaybackRateConfig
- java.lang.Object
-
- com.longtailvideo.jwplayer.configuration.PlaybackRateConfig
-
public class PlaybackRateConfig extends java.lang.Object
For creatingPlaybackRateConfig
instances usePlaybackRateConfig.Factory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlaybackRateConfig.Factory
Factory for creating PlaybackRateConfig instances
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_PLAYBACK_RATE_KEY
Constant key value for parsing and adding values to JSONObject Using for managing use default playback rates or notstatic java.lang.String
PLAYBACK_RATES_KEY
Constant key value for parsing and adding values to JSONObject Using for adding custom playback rates array
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applyDefaultPlaybackRates()
Returns value for passing to JWP config by keyDEFAULT_PLAYBACK_RATE_KEY
org.json.JSONArray
getPlaybackRatesJSONArray()
Returns value for passing to JWP config by keyPLAYBACK_RATES_KEY
static PlaybackRateConfig
parseJson(org.json.JSONObject jObject)
-
-
-
Field Detail
-
DEFAULT_PLAYBACK_RATE_KEY
public static final java.lang.String DEFAULT_PLAYBACK_RATE_KEY
Constant key value for parsing and adding values to JSONObject Using for managing use default playback rates or not- See Also:
- Constant Field Values
-
PLAYBACK_RATES_KEY
public static final java.lang.String PLAYBACK_RATES_KEY
Constant key value for parsing and adding values to JSONObject Using for adding custom playback rates array- See Also:
- Constant Field Values
-
-
Method Detail
-
applyDefaultPlaybackRates
public boolean applyDefaultPlaybackRates()
Returns value for passing to JWP config by keyDEFAULT_PLAYBACK_RATE_KEY
-
getPlaybackRatesJSONArray
public org.json.JSONArray getPlaybackRatesJSONArray()
Returns value for passing to JWP config by keyPLAYBACK_RATES_KEY
-
parseJson
@Nullable public static PlaybackRateConfig parseJson(org.json.JSONObject jObject)
-
-