-
public final class PhysicalChannelConfigThis model class is port of AOSP's PhysicalChannelConfig which is currently hidden from public. Its contents are obtained using toString method cause reflection does not work properly in newest Android versions.
connectionStatus and bandwidth were essential part of this model when it was added to AOSP. channelNumber and pci were added in Android Q, expect always null in older Android versions.
See also: AOSP's PhysicalChannelConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPhysicalChannelConfig.Companion
-
Field Summary
Fields Modifier and Type Field Description private final IConnectionconnectionStatusprivate final Integerbandwidthprivate final IntegerchannelNumberprivate final Integerpci
-
Constructor Summary
Constructors Constructor Description PhysicalChannelConfig(IConnection connectionStatus, Integer bandwidth, Integer channelNumber, Integer pci)
-
Method Summary
Modifier and Type Method Description final IConnectiongetConnectionStatus()Current connection status final IntegergetBandwidth()Bandwidth in kHz final IntegergetChannelNumber()Downlink EARFCN for LTE final IntegergetPci()Physical channel id -
-
Constructor Detail
-
PhysicalChannelConfig
PhysicalChannelConfig(IConnection connectionStatus, Integer bandwidth, Integer channelNumber, Integer pci)
-
-
Method Detail
-
getConnectionStatus
final IConnection getConnectionStatus()
Current connection status
-
getBandwidth
final Integer getBandwidth()
Bandwidth in kHz
-
getChannelNumber
final Integer getChannelNumber()
Downlink EARFCN for LTE
-
-
-
-