TelephonyManager.SetVoiceMailNumber(String, String) 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.
Sets the voice mail number.
[Android.Runtime.Register("setVoiceMailNumber", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetSetVoiceMailNumber_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=22)]
public virtual bool SetVoiceMailNumber (string? alphaTag, string? number);
[<Android.Runtime.Register("setVoiceMailNumber", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetSetVoiceMailNumber_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=22)>]
abstract member SetVoiceMailNumber : string * string -> bool
override this.SetVoiceMailNumber : string * string -> bool
Parameters
- alphaTag
- String
The alpha tag to display.
- number
- String
The voicemail number.
Returns
- Attributes
Remarks
Sets the voice mail number.
Requires that the calling app has carrier privileges (see #hasCarrierPrivileges
).
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.