@Implements(value=android.net.NetworkScoreManager.class, isInAndroidSdk=false, minSdk=21) public class ShadowNetworkScoreManager extends Object
NetworkScoreManager
.Constructor | Description |
---|---|
ShadowNetworkScoreManager() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
disableScoring() |
|
String |
getActiveScorerPackage() |
|
boolean |
isScoringEnabled() |
Whether scoring is enabled.
|
boolean |
setActiveScorer(String packageName) |
@Implementation public String getActiveScorerPackage()
@Implementation public boolean setActiveScorer(String packageName)
@Implementation protected void disableScoring()
isScoringEnabled()
public boolean isScoringEnabled()