getSubscriptionId

open fun getSubscriptionId(@NonNull telephonyManager: TelephonyManager): Int(source)

Return the subscription ID the TelephonyManager was created with (via createForSubscriptionId) if applicable, and otherwise the default subscription ID.