共用方式為


UiccPortInfo.LogicalSlotIndex Property

Definition

Gets logical slot index for the slot that the UICC is currently attached.

public int LogicalSlotIndex { [Android.Runtime.Register("getLogicalSlotIndex", "()I", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getLogicalSlotIndex", "()I", "", ApiSince=33)>]
member this.LogicalSlotIndex : int

Property Value

the logical slot index for UICC port, if there is no logical slot index it returns SubscriptionManager#INVALID_SIM_SLOT_INDEX

Attributes

Remarks

Gets logical slot index for the slot that the UICC is currently attached. Logical slot index or ID: unique index referring to a logical SIM slot. Logical slot IDs start at 0 and go up depending on the number of supported active slots on a device. For example, a dual-SIM device typically has slot 0 and slot 1. If a device has multiple physical slots but only supports one active slot, it will have only the logical slot ID 0.

Java documentation for android.telephony.UiccPortInfo.getLogicalSlotIndex().

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