We are trying to develop a solution for to manage Android devices by using the Android Management API. We need to do actions like Reboot device, Clear App cache and data, Obtain system logs, Factory reset device etc., along with obtaining telemetry data like CPU usage, Memory usage, Storage status, Network Info, Location Info etc. I have gone through the Android Management API documentation and some of the above mentioned functions are supported by it and was able to test these. However some required functions like Factory reset, obtaining system logs are not supported. Is there a way to do these with AM API?
I have also seen the Android Management API Extensibility SDK documentation and could not understand what's the use of it, except that it can be used to execute a command to clear app data as stated here. So my question is - Is it possible to execute any commands to Factory reset, obtain system logs or to do some other function or only clearing app data can be done? I am asking this because I have seen a Android Management API Extensibility sample app by google. After going through the source code and running the app, I was able to infer that only clear app data function is supported by the app.
Any input to the above two queries can be really helpful as I am stuck on this for few days. The documentation is also not very clear as they do not contain the info about integrating Android Management API Extensibility SDK or its functionalities. TIA