Language

ApnSetting.Builder.SetAlwaysOn(Boolean) Method

Definition

Sets whether the PDU session brought up by this APN should always be on.

[Android.Runtime.Register("setAlwaysOn", "(Z)Landroid/telephony/data/ApnSetting$Builder;", "GetSetAlwaysOn_ZHandler", ApiSince=35)]
public virtual Android.Telephony.Data.ApnSetting.Builder SetAlwaysOn(bool alwaysOn);
[<Android.Runtime.Register("setAlwaysOn", "(Z)Landroid/telephony/data/ApnSetting$Builder;", "GetSetAlwaysOn_ZHandler", ApiSince=35)>]
abstract member SetAlwaysOn : bool -> Android.Telephony.Data.ApnSetting.Builder
override this.SetAlwaysOn : bool -> Android.Telephony.Data.ApnSetting.Builder

Parameters

alwaysOn
Boolean

the always on status to set for this APN

Returns

Attributes

Remarks

Sets whether the PDU session brought up by this APN should always be on. See 3GPP TS 23.501 section 5.6.13

Android reference for android.telephony.data.ApnSetting.Builder.setAlwaysOn.

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