Partager via


TelephonyManager.ClearSignalStrengthUpdateRequest Method

Definition

Clear a SignalStrengthUpdateRequest from the system.

[Android.Runtime.Register("clearSignalStrengthUpdateRequest", "(Landroid/telephony/SignalStrengthUpdateRequest;)V", "GetClearSignalStrengthUpdateRequest_Landroid_telephony_SignalStrengthUpdateRequest_Handler", ApiSince=31)]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public virtual void ClearSignalStrengthUpdateRequest (Android.Telephony.SignalStrengthUpdateRequest request);
[<Android.Runtime.Register("clearSignalStrengthUpdateRequest", "(Landroid/telephony/SignalStrengthUpdateRequest;)V", "GetClearSignalStrengthUpdateRequest_Landroid_telephony_SignalStrengthUpdateRequest_Handler", ApiSince=31)>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
abstract member ClearSignalStrengthUpdateRequest : Android.Telephony.SignalStrengthUpdateRequest -> unit
override this.ClearSignalStrengthUpdateRequest : Android.Telephony.SignalStrengthUpdateRequest -> unit

Parameters

request
SignalStrengthUpdateRequest

the SignalStrengthUpdateRequest to be cleared from the System

Attributes

Remarks

Clear a SignalStrengthUpdateRequest from the system.

Requires Permission: android.Manifest.permission#MODIFY_PHONE_STATE MODIFY_PHONE_STATE or that the calling app has carrier privileges (see TelephonyManager#hasCarrierPrivileges).

If the given request was not set before, this operation is a no-op.

Java documentation for android.telephony.TelephonyManager.clearSignalStrengthUpdateRequest(android.telephony.SignalStrengthUpdateRequest).

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