OpenVPNAdapter
OpenVPNAdapter copied to clipboard
OpenVPNInterfaceStats
Hello, Packettunnelprovider is also how to retrieve incoming outbound bytes. Thank you.
@ss-abramchuk Can you please help us to know how we can retrieve traffic stats?
Thanks
OpenVPNAdapter
has a couple of properties: interfaceStatistics
and transportStatistics
. Have you tried them?
@ss-abramchuk : Is there any possibility to add observer for the above properties so that after creating connection , it can keep providing stats continuosly
@swati-daffodilsw As far as I understood such a behaviour will be contradictory to iOS app extension workflow. Your app wakes extension app just to run simple code which for example provides configuration and start/stop the connection, after that, the process will be killed by the system.
Please provide any ideas on how to achieve this if you have one..