Language

ApnSetting.Builder.SetPersistent(Boolean) Method

Definition

Sets whether the APN setting should be persistent on the modem.

[Android.Runtime.Register("setPersistent", "(Z)Landroid/telephony/data/ApnSetting$Builder;", "GetSetPersistent_ZHandler", ApiSince=33)]
public virtual Android.Telephony.Data.ApnSetting.Builder SetPersistent(bool isPersistent);
[<Android.Runtime.Register("setPersistent", "(Z)Landroid/telephony/data/ApnSetting$Builder;", "GetSetPersistent_ZHandler", ApiSince=33)>]
abstract member SetPersistent : bool -> Android.Telephony.Data.ApnSetting.Builder
override this.SetPersistent : bool -> Android.Telephony.Data.ApnSetting.Builder

Parameters

isPersistent
Boolean

true if the APN setting should be persistent on the modem; otherwise, false.

Returns

The same instance of the builder. This value cannot be null.

Attributes

Remarks

Sets whether the APN setting should be persistent on the modem.

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

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