TelecomManager.HandleMmi Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| HandleMmi(String) |
Processes the specified dial string as an MMI code. |
| HandleMmi(String, PhoneAccountHandle) |
Processes the specified dial string as an MMI code. |
HandleMmi(String)
Processes the specified dial string as an MMI code.
[Android.Runtime.Register("handleMmi", "(Ljava/lang/String;)Z", "GetHandleMmi_Ljava_lang_String_Handler")]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public virtual bool HandleMmi (string? dialString);
[<Android.Runtime.Register("handleMmi", "(Ljava/lang/String;)Z", "GetHandleMmi_Ljava_lang_String_Handler")>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
abstract member HandleMmi : string -> bool
override this.HandleMmi : string -> bool
Parameters
- dialString
- String
The digits to dial.
Returns
True if the digits were processed as an MMI code, false otherwise.
- Attributes
Remarks
Java documentation for android.telecom.TelecomManager.handleMmi(java.lang.String).
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
HandleMmi(String, PhoneAccountHandle)
Processes the specified dial string as an MMI code.
[Android.Runtime.Register("handleMmi", "(Ljava/lang/String;Landroid/telecom/PhoneAccountHandle;)Z", "GetHandleMmi_Ljava_lang_String_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=23)]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public virtual bool HandleMmi (string? dialString, Android.Telecom.PhoneAccountHandle? accountHandle);
[<Android.Runtime.Register("handleMmi", "(Ljava/lang/String;Landroid/telecom/PhoneAccountHandle;)Z", "GetHandleMmi_Ljava_lang_String_Landroid_telecom_PhoneAccountHandle_Handler", ApiSince=23)>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
abstract member HandleMmi : string * Android.Telecom.PhoneAccountHandle -> bool
override this.HandleMmi : string * Android.Telecom.PhoneAccountHandle -> bool
Parameters
- dialString
- String
The digits to dial.
- accountHandle
- PhoneAccountHandle
The handle for the account the MMI code should apply to.
Returns
True if the digits were processed as an MMI code, false otherwise.
- Attributes
Remarks
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.