Language

ApnSetting.Builder.SetPersistent(Boolean) Method

Definition

Set if the APN setting should be persistent/non-persistent in 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 this APN setting should be persistent/non-persistent in modem.

Returns

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

Attributes

Remarks

Set if the APN setting should be persistent/non-persistent in 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