Since: API level 13
public class

EnterpriseApn

extends Object
implements Parcelable
java.lang.Object
   ↳ com.samsung.android.knox.net.billing.EnterpriseApn

Deprecated in API level 33
NOTE: This Class is not available since Android 12.

Class Overview

This class is helper data structure to store Enterprise APN details like apn, mcc and mnc of a network operator.

Usage

The combination of apn, mcc and mnc, i.e to say an EnterpriseApn is unique at a given point in time.


            EnterpriseApn apn = new EnterpriseApn(apn, mcc, mnc);

        

Since
API level 13
KNOX 2.2

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public final String apn Deprecated in API level 33
NOTE: This Variable is not available since Android 12.
public final String mcc Deprecated in API level 33
NOTE: This Variable is not available since Android 12.
public final String mnc Deprecated in API level 33
NOTE: This Variable is not available since Android 12.
Public Constructors
EnterpriseApn(String apn, String mcc, String mnc)
Deprecated in API level 33
NOTE: This API is not available since Android 12.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public final String apn

Since: API level 13

Deprecated in API level 33
NOTE: This Variable is not available since Android 12.

The apn.

Since
API level 13
KNOX 2.2

public final String mcc

Since: API level 13

Deprecated in API level 33
NOTE: This Variable is not available since Android 12.

The mcc.

Since
API level 13
KNOX 2.2

public final String mnc

Since: API level 13

Deprecated in API level 33
NOTE: This Variable is not available since Android 12.

The mnc.

Since
API level 13
KNOX 2.2

Public Constructors

public EnterpriseApn (String apn, String mcc, String mnc)

Since: API level 13

Deprecated in API level 33
NOTE: This API is not available since Android 12.

Instantiates a new enterprise apn, once initialized the values are immutable.

Parameters
apn the Access Point Name
mcc the Mobile Country Code
mnc the Mobile Network Code
Throws
IllegalArgumentException if apn,mcc or mnc is null or empty.
Since
API level 13
KNOX 2.2