TelephonyCallback.SignalStrengthsListener
public
static
interface
TelephonyCallback.SignalStrengthsListener
android.telephony.TelephonyCallback.SignalStrengthsListener |
Interface for network signal strengths listener.
Summary
Public methods | |
---|---|
abstract
void
|
onSignalStrengthsChanged(SignalStrength signalStrength)
Callback invoked when network signal strengths changes on the registered subscription. |
Public methods
onSignalStrengthsChanged
public abstract void onSignalStrengthsChanged (SignalStrength signalStrength)
Callback invoked when network signal strengths changes on the registered subscription.
Note, the registration subscription ID comes from TelephonyManager
object
which registers TelephonyCallback by
TelephonyManager#registerTelephonyCallback(Executor, TelephonyCallback)
.
If this TelephonyManager object was created with
TelephonyManager#createForSubscriptionId(int)
, then the callback applies to the
subscription ID. Otherwise, this callback applies to
SubscriptionManager#getDefaultSubscriptionId()
.
Parameters | |
---|---|
signalStrength |
SignalStrength : This value cannot be null . |