Udostępnij za pośrednictwem


TelephonyCallback.ISignalStrengthsListener.OnSignalStrengthsChanged 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:Android.Telephony.TelephonyCallback/ISignalStrengthsListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnSignalStrengthsChanged (Android.Telephony.SignalStrength signalStrength);
[<Android.Runtime.Register("onSignalStrengthsChanged", "(Landroid/telephony/SignalStrength;)V", "GetOnSignalStrengthsChanged_Landroid_telephony_SignalStrength_Handler:Android.Telephony.TelephonyCallback/ISignalStrengthsListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnSignalStrengthsChanged : Android.Telephony.SignalStrength -> unit

Parameters

signalStrength
SignalStrength
Attributes

Remarks

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().

Java documentation for android.telephony.TelephonyCallback.SignalStrengthsListener.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