TelephonyManager.SetVisualVoicemailSmsFilterSettings 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.
Set the visual voicemail SMS filter settings for the subscription ID pinned to the TelephonyManager.
[Android.Runtime.Register("setVisualVoicemailSmsFilterSettings", "(Landroid/telephony/VisualVoicemailSmsFilterSettings;)V", "GetSetVisualVoicemailSmsFilterSettings_Landroid_telephony_VisualVoicemailSmsFilterSettings_Handler", ApiSince=26)]
public virtual void SetVisualVoicemailSmsFilterSettings (Android.Telephony.VisualVoicemailSmsFilterSettings? settings);
[<Android.Runtime.Register("setVisualVoicemailSmsFilterSettings", "(Landroid/telephony/VisualVoicemailSmsFilterSettings;)V", "GetSetVisualVoicemailSmsFilterSettings_Landroid_telephony_VisualVoicemailSmsFilterSettings_Handler", ApiSince=26)>]
abstract member SetVisualVoicemailSmsFilterSettings : Android.Telephony.VisualVoicemailSmsFilterSettings -> unit
override this.SetVisualVoicemailSmsFilterSettings : Android.Telephony.VisualVoicemailSmsFilterSettings -> unit
Parameters
- settings
- VisualVoicemailSmsFilterSettings
The settings for the filter, or null
to disable the filter.
- Attributes
Remarks
Set the visual voicemail SMS filter settings for the subscription ID pinned to the TelephonyManager. When the filter is enabled, VisualVoicemailService#onSmsReceived(VisualVoicemailTask, VisualVoicemailSms)
will be called when a SMS matching the settings is received. Caller must be the default dialer, system dialer, or carrier visual voicemail app.
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.