NEW YORK — If you wanted to make a time capsule of what happened in pop music this year, Friday night’s Jingle Ball – the annual extravaganza held in Madison Square Garden put on by pop station Z100 – would likely provide the most accurate account.

There was Pharrell crooning his hit “Happy”; Iggy Azalea rapping and posturing as she breezed through “Fancy”; Jessie J and Ariana Grande playfully one-upping each other in the power-vocal showcase smash “Bang Bang”; and Meghan Trainor serving sass on what was arguably the song of the year, “All About That Bass.”

But the king and queen of the night (and perhaps the year) were Sam Smith and Taylor Swift. Their separate performances couldn’t have been less alike: Sam Smith was all about stately R&B while Taylor Swift brought her perky pop. But they were the emotional highlights.

“I am the only person who asks you to scream loudly tonight who is about to turn 25 in 10 minutes,” Taylor Swift told the crowd shortly before she celebrated her birthday after the stroke of midnight.

Sam Smith, the newcomer who last week was nominated for six Grammys including record, song and album of the year, was the most unlikely pop star of the bunch; he sings traditional, downtempo soul songs and doesn’t dance; his signature look is a drab suit and his wide, doleful eyes.

But his searing, soulful voice has made him among the most acclaimed artists of the year.