How to implement Android app with video downloader from url with different download resolution option download

I am developing java android project which download video from url with diffrent resolution such as 144p, 360p, 720p but don’t know to download with specific resolution as I can able to download video using android download manager but it has not showing option to download with specific resolution(144p, 360p, 720p).

Anyone can tell me how to download video from url with specific resloution.