共用方式為


TelephonyManager.RebootModem Method

Definition

Generate a radio modem reset.

[Android.Runtime.Register("rebootModem", "()V", "GetRebootModemHandler", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public virtual void RebootModem ();
[<Android.Runtime.Register("rebootModem", "()V", "GetRebootModemHandler", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
abstract member RebootModem : unit -> unit
override this.RebootModem : unit -> unit
Attributes

Remarks

Generate a radio modem reset. Used for device configuration by some carriers.

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

Java documentation for android.telephony.TelephonyManager.rebootModem().

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