ApnSetting.Builder.SetAuthType(AuthType) 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 authentication type of the APN.
[Android.Runtime.Register("setAuthType", "(I)Landroid/telephony/data/ApnSetting$Builder;", "GetSetAuthType_IHandler", ApiSince=28)]
public virtual Android.Telephony.Data.ApnSetting.Builder SetAuthType(Android.Telephony.Data.AuthType authType);
[<Android.Runtime.Register("setAuthType", "(I)Landroid/telephony/data/ApnSetting$Builder;", "GetSetAuthType_IHandler", ApiSince=28)>]
abstract member SetAuthType : Android.Telephony.Data.AuthType -> Android.Telephony.Data.ApnSetting.Builder
override this.SetAuthType : Android.Telephony.Data.AuthType -> Android.Telephony.Data.ApnSetting.Builder
Parameters
- authType
- AuthType
the authentication type to set for the APN. Value is one of the following: ApnSetting.AUTH_TYPE_NONE; ApnSetting.AUTH_TYPE_PAP; ApnSetting.AUTH_TYPE_CHAP; ApnSetting.AUTH_TYPE_PAP_OR_CHAP
Returns
- Attributes
Remarks
Sets the authentication type of the APN.
Android reference for android.telephony.data.ApnSetting.Builder.setAuthType.
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.