Youtube App Data Usage from my app

KEERTHIVASAN KP

New member
Mar 6, 2017
1
0
0
Visit site
Hello All,
I am able to play the youtube videos from my app using Youtube player view in my app.
Since the video is playing through the Youtube App, I want to get the data usage of that app.
I am able to get the data usage in Android 5 versions through TrafficStats. But I am unable to get the data usage in Android 6 & 7 versions for the Youtube app from my app.
So, please any one help me to find the data.

Thanks.