Share via


PhoneStateListener.OnSignalStrengthsChanged(SignalStrength) Method

Definition

Callback invoked when network signal strengths changes on the registered subscription.

[Android.Runtime.Register("onSignalStrengthsChanged", "(Landroid/telephony/SignalStrength;)V", "GetOnSignalStrengthsChanged_Landroid_telephony_SignalStrength_Handler")]
public virtual void OnSignalStrengthsChanged (Android.Telephony.SignalStrength? signalStrength);
[<Android.Runtime.Register("onSignalStrengthsChanged", "(Landroid/telephony/SignalStrength;)V", "GetOnSignalStrengthsChanged_Landroid_telephony_SignalStrength_Handler")>]
abstract member OnSignalStrengthsChanged : Android.Telephony.SignalStrength -> unit
override this.OnSignalStrengthsChanged : Android.Telephony.SignalStrength -> unit

Parameters

signalStrength
SignalStrength
Attributes

Remarks

Callback invoked when network signal strengths changes on the registered subscription. Note, the registration subId comes from TelephonyManager object which registers PhoneStateListener by TelephonyManager#listen(PhoneStateListener, int). If this TelephonyManager object was created with TelephonyManager#createForSubscriptionId(int), then the callback applies to the subId. Otherwise, this callback applies to SubscriptionManager#getDefaultSubscriptionId().

This member is deprecated. Use TelephonyCallback.SignalStrengthsListener instead.

Java documentation for android.telephony.PhoneStateListener.onSignalStrengthsChanged(android.telephony.SignalStrength).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to