# SubscriptionManagerCompat

Artifact: [androidx.core:core](https://developer.android.com/jetpack/androidx/releases/core) [View Source](https://cs.android.com/search?q=file:androidx/core/telephony/SubscriptionManagerCompat.java+class:androidx.core.telephony.SubscriptionManagerCompat) Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/core#1.6.0)

*** ** * ** ***


```
public class SubscriptionManagerCompat
```

<br />

*** ** * ** ***

Helper for accessing features in `https://developer.android.com/reference/android/telephony/SubscriptionManager.html`.

## Summary

| ### Public methods |
|---|---|
| `static int` | `https://developer.android.com/reference/androidx/core/telephony/SubscriptionManagerCompat#getSlotIndex(int)(int subId)` Returns the slot index associated with the subscription id. |

## Public methods

### getSlotIndex

Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/core#1.6.0)

```
public static int getSlotIndex(int subId)
```

Returns the slot index associated with the subscription id.