ApnSetting.Builder.SetApnName(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 name of the APN.
[Android.Runtime.Register("setApnName", "(Ljava/lang/String;)Landroid/telephony/data/ApnSetting$Builder;", "GetSetApnName_Ljava_lang_String_Handler", ApiSince=28)]
public virtual Android.Telephony.Data.ApnSetting.Builder SetApnName(string? apnName);
[<Android.Runtime.Register("setApnName", "(Ljava/lang/String;)Landroid/telephony/data/ApnSetting$Builder;", "GetSetApnName_Ljava_lang_String_Handler", ApiSince=28)>]
abstract member SetApnName : string -> Android.Telephony.Data.ApnSetting.Builder
override this.SetApnName : string -> Android.Telephony.Data.ApnSetting.Builder
Parameters
- apnName
- String
the name to set for the APN. This value may be null.
Returns
- Attributes
Remarks
Sets the name of the APN.
Android reference for android.telephony.data.ApnSetting.Builder.setApnName.
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.