VisualVoicemailService.OnSmsReceived 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.
Called when a SMS matching the VisualVoicemailSmsFilterSettings
set by
TelephonyManager#setVisualVoicemailSmsFilterSettings(VisualVoicemailSmsFilterSettings)
is received.
[Android.Runtime.Register("onSmsReceived", "(Landroid/telephony/VisualVoicemailService$VisualVoicemailTask;Landroid/telephony/VisualVoicemailSms;)V", "GetOnSmsReceived_Landroid_telephony_VisualVoicemailService_VisualVoicemailTask_Landroid_telephony_VisualVoicemailSms_Handler", ApiSince=26)]
public abstract void OnSmsReceived (Android.Telephony.VisualVoicemailService.VisualVoicemailTask? task, Android.Telephony.VisualVoicemailSms? sms);
[<Android.Runtime.Register("onSmsReceived", "(Landroid/telephony/VisualVoicemailService$VisualVoicemailTask;Landroid/telephony/VisualVoicemailSms;)V", "GetOnSmsReceived_Landroid_telephony_VisualVoicemailService_VisualVoicemailTask_Landroid_telephony_VisualVoicemailSms_Handler", ApiSince=26)>]
abstract member OnSmsReceived : Android.Telephony.VisualVoicemailService.VisualVoicemailTask * Android.Telephony.VisualVoicemailSms -> unit
Parameters
The task representing this event. VisualVoicemailTask#finish()
must be
called when the task is completed.
The content of the received SMS.
- 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.