As adding media control in notifications

I am creating an application that plays online radio, but by minimizing the log window is not being played , how I can add a player control in the notifications as does google music or spotify?


I need that information too. Did anyone found the solution?