Package org.robolectric.shadows
Class ShadowNetworkScoreManager
java.lang.Object
org.robolectric.shadows.ShadowNetworkScoreManager
@Implements(value=android.net.NetworkScoreManager.class,
isInAndroidSdk=false,
minSdk=21)
public class ShadowNetworkScoreManager
extends Object
Provides testing APIs for
NetworkScoreManager
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
boolean
Whether scoring is enabled.boolean
setActiveScorer
(String packageName)
-
Constructor Details
-
ShadowNetworkScoreManager
public ShadowNetworkScoreManager()
-
-
Method Details
-
getActiveScorerPackage
-
setActiveScorer
-
disableScoring
- See Also:
-
isScoringEnabled
public boolean isScoringEnabled()Whether scoring is enabled.
-