TelephonyManager.SendVisualVoicemailSms(String, Int32, String, PendingIntent) Method

Definition

Send a visual voicemail SMS.

[Android.Runtime.Register("sendVisualVoicemailSms", "(Ljava/lang/String;ILjava/lang/String;Landroid/app/PendingIntent;)V", "GetSendVisualVoicemailSms_Ljava_lang_String_ILjava_lang_String_Landroid_app_PendingIntent_Handler", ApiSince=26)]
public virtual void SendVisualVoicemailSms (string? number, int port, string? text, Android.App.PendingIntent? sentIntent);
[<Android.Runtime.Register("sendVisualVoicemailSms", "(Ljava/lang/String;ILjava/lang/String;Landroid/app/PendingIntent;)V", "GetSendVisualVoicemailSms_Ljava_lang_String_ILjava_lang_String_Landroid_app_PendingIntent_Handler", ApiSince=26)>]
abstract member SendVisualVoicemailSms : string * int * string * Android.App.PendingIntent -> unit
override this.SendVisualVoicemailSms : string * int * string * Android.App.PendingIntent -> unit

Parameters

number
String

The destination number.

port
Int32

The destination port for data SMS, or 0 for text SMS.

text
String

The message content. For data sms, it will be encoded as a UTF-8 byte stream.

sentIntent
PendingIntent

The sent intent passed to the SmsManager

Attributes

Remarks

Java documentation for android.telephony.TelephonyManager.sendVisualVoicemailSms(java.lang.String, int, java.lang.String, android.app.PendingIntent).

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