/**@class android.net.NetworkScorerAppManager @extends java.lang.Object Internal class for managing the primary network scorer application. TODO: Rename this to something more generic. @hide */ var NetworkScorerAppManager = { /**Returns the list of available scorer apps. <p>A network scorer is any application which: <ul> <li>Declares the {@link android.Manifest.permission#SCORE_NETWORKS} permission. <li>Includes a receiver for {@link android.net.NetworkScoreManager#ACTION_SCORE_NETWORKS} guarded by the {@link android.Manifest.permission#BROADCAST_NETWORK_PRIVILEGED} permission. </ul> @return {Object {java.util.Collection}} the list of scorers, or the empty list if there are no valid scorers. */ getAllValidScorers : function( ) {}, /**Get the application to use for scoring networks. @return {Object {android.net.NetworkScorerAppManager.NetworkScorerAppData}} the scorer app info or null if scoring is disabled (including if no scorer was ever selected) or if the previously-set scorer is no longer a valid scorer app (e.g. because it was disabled or uninstalled). */ getActiveScorer : function( ) {}, /**Set the specified package as the default scorer application. <p>The caller must have permission to write to {@link android.provider.Settings.Global}. @param {Object {Context}} context the context of the calling application @param {String} packageName the packageName of the new scorer to use. If null, scoring will be disabled. Otherwise, the scorer will only be set if it is a valid scorer application. @return {Boolean} true if the scorer was changed, or false if the package is not a valid scorer. */ setActiveScorer : function( ) {}, /**Determine whether the application with the given UID is the enabled scorer. */ isCallerActiveScorer : function( ) {}, /**Returns the {@link android.net.NetworkScorerAppManager.NetworkScorerAppData} for the given app, or null if it's not a scorer. */ getScorer : function( ) {}, };