public class

SimChangeInfo

extends Object
implements Parcelable
java.lang.Object
   ↳ com.samsung.android.knox.deviceinfo.SimChangeInfo

Class Overview

This class contains information on SIM card changes.

NOTE: There is no Dual SIM support. Information may be inconsistent when two SIM cards are inserted on device.

Since
API level 2
MDM 2.0

Summary

Constants
int SIM_CHANGED SIM card is changed.
int SIM_INSERTED New SIM card is inserted into the device after a factory reset.
int SIM_REMOVED SIM card is removed from the device.
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public int changeOperation The type of SIM Change operation: One of SIM_REMOVED, SIM_INSERTED, or SIM_CHANGED.
public long changeTime The time at which this SIM card change operation occurred.
public SimInfo currentSimInfo SIM information of the current SIM card.
public SimInfo previousSimInfo SIM information of the previous SIM card.
Public Constructors
SimChangeInfo()
Default Constructor
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Constants

public static final int SIM_CHANGED

Since: API level 2

SIM card is changed. Old SIM card replaced with a new SIM card.

NOTE: Once a SIM Card is replaced to another, this constant will be sent even if you remove and insert the same SIM Card.

Since
API level 2
MDM 2.0
Constant Value: 2 (0x00000002)

public static final int SIM_INSERTED

Since: API level 2

New SIM card is inserted into the device after a factory reset.

Since
API level 2
MDM 2.0
Constant Value: 3 (0x00000003)

public static final int SIM_REMOVED

Since: API level 2

SIM card is removed from the device.

Since
API level 2
MDM 2.0
Constant Value: 1 (0x00000001)

Fields

public int changeOperation

Since: API level 2

The type of SIM Change operation: One of SIM_REMOVED, SIM_INSERTED, or SIM_CHANGED.

Since
API level 2
MDM 2.0

public long changeTime

Since: API level 2

The time at which this SIM card change operation occurred.

Since
API level 2
MDM 2.0

public SimInfo currentSimInfo

Since: API level 2

SIM information of the current SIM card. If SIM change operation is SIM_REMOVED, it will contain information from SIM card that was removed.

Since
API level 2
MDM 2.0

public SimInfo previousSimInfo

Since: API level 2

SIM information of the previous SIM card. Is null if SIM change operation is SIM_INSERTED.

Since
API level 2
MDM 2.0

Public Constructors

public SimChangeInfo ()

Since: API level 2

Default Constructor

Since
API level 2
MDM 2.0