Share via


TelephonyManager.GetSimState(Int32) Method

Definition

Returns a constant indicating the state of the device SIM card in a logical slot.

[Android.Runtime.Register("getSimState", "(I)I", "GetGetSimState_IHandler", ApiSince=26)]
public virtual Android.Telephony.SimState GetSimState (int slotIndex);
[<Android.Runtime.Register("getSimState", "(I)I", "GetGetSimState_IHandler", ApiSince=26)>]
abstract member GetSimState : int -> Android.Telephony.SimState
override this.GetSimState : int -> Android.Telephony.SimState

Parameters

slotIndex
Int32

logical slot index

Returns

Attributes

Remarks

Returns a constant indicating the state of the device SIM card in a logical slot.

Java documentation for android.telephony.TelephonyManager.getSimState(int).

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