TelephonyManager.SendUssdRequest 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.
Sends an Unstructured Supplementary Service Data (USSD) request to the mobile network and
informs the caller of the response via the supplied callback
.
[Android.Runtime.Register("sendUssdRequest", "(Ljava/lang/String;Landroid/telephony/TelephonyManager$UssdResponseCallback;Landroid/os/Handler;)V", "GetSendUssdRequest_Ljava_lang_String_Landroid_telephony_TelephonyManager_UssdResponseCallback_Landroid_os_Handler_Handler", ApiSince=26)]
[Android.Runtime.RequiresPermission("android.permission.CALL_PHONE")]
public virtual void SendUssdRequest (string? ussdRequest, Android.Telephony.TelephonyManager.UssdResponseCallback? callback, Android.OS.Handler? handler);
[<Android.Runtime.Register("sendUssdRequest", "(Ljava/lang/String;Landroid/telephony/TelephonyManager$UssdResponseCallback;Landroid/os/Handler;)V", "GetSendUssdRequest_Ljava_lang_String_Landroid_telephony_TelephonyManager_UssdResponseCallback_Landroid_os_Handler_Handler", ApiSince=26)>]
[<Android.Runtime.RequiresPermission("android.permission.CALL_PHONE")>]
abstract member SendUssdRequest : string * Android.Telephony.TelephonyManager.UssdResponseCallback * Android.OS.Handler -> unit
override this.SendUssdRequest : string * Android.Telephony.TelephonyManager.UssdResponseCallback * Android.OS.Handler -> unit
Parameters
- ussdRequest
- String
the USSD command to be executed.
called by the framework to inform the caller of the result of executing the
USSD request (see UssdResponseCallback
).
- handler
- Handler
the Handler
to run the request on.
- 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.