Class CurrentNetwork
-
- All Implemented Interfaces:
public final class CurrentNetworkA value class representing the current network that the device is connected to.
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 private final StringcarrierCountryCodeprivate final StringcarrierIsoCountryCodeprivate final StringcarrierNetworkCodeprivate final StringcarrierNameprivate final NetworkStatestateprivate final StringsubType
-
Constructor Summary
Constructors Constructor Description CurrentNetwork(NetworkState state, Carrier carrier, String subType)CurrentNetwork(NetworkState state, Carrier carrier)CurrentNetwork(NetworkState state)
-
Method Summary
Modifier and Type Method Description final StringgetCarrierCountryCode()final StringgetCarrierIsoCountryCode()final StringgetCarrierNetworkCode()final StringgetCarrierName()final NetworkStategetState()final StringgetSubType()-
-
Constructor Detail
-
CurrentNetwork
CurrentNetwork(NetworkState state, Carrier carrier, String subType)
-
CurrentNetwork
CurrentNetwork(NetworkState state, Carrier carrier)
-
CurrentNetwork
CurrentNetwork(NetworkState state)
-
-
Method Detail
-
getCarrierCountryCode
final String getCarrierCountryCode()
-
getCarrierIsoCountryCode
final String getCarrierIsoCountryCode()
-
getCarrierNetworkCode
final String getCarrierNetworkCode()
-
getCarrierName
final String getCarrierName()
-
getState
final NetworkState getState()
-
getSubType
final String getSubType()
-
-
-
-