The Spotify Android app has music controls put in the notification (play/pause, next song). 

I would like to let the user control a `Service` from a controls inside notification. How do I do that? 

![enter image description here](https://i.stack.imgur.com/sTcYR.jpg)