[M120 Migration] Modify |GetSnapshot| function to support NUI