Is there any way to fetch 'network bandwidth' and 'player bandwidth' in Roku?

I need to fetch bandwidth details (through code) of the connected network and video player.

Network Bandwidth - bandwidth available to the network connection.
Player Bandwidth - bandwidth experienced by the video player during video playback.

Please let me know if anyone has an idea about fetching ‘network bandwidth’ and ‘player bandwidth’ fields.