Language

ApnSetting.Builder.SetAuthType(AuthType) Method

Definition

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.

Applies to