Object NetworkProviderHolder
-
- All Implemented Interfaces:
public class NetworkProviderHolderProcess-wide lazy holder for the CurrentNetworkProvider.
This class is internal and not for public use. Its APIs are unstable and can change at any time.
-
-
Field Summary
Fields Modifier and Type Field Description public final static NetworkProviderHolderINSTANCE
-
Method Summary
Modifier and Type Method Description final static CurrentNetworkProviderget(Context context)final static Unitclose()final static Unitset(CurrentNetworkProvider provider)-
-
Method Detail
-
get
final static CurrentNetworkProvider get(Context context)
-
set
@VisibleForTesting() final static Unit set(CurrentNetworkProvider provider)
-
-
-
-