Hi,
Following
this thread, it appears that a request for custom actions would be a good idea.
It is a surprise though that there does not seem to be one single Playmaker-ready set of actions to collect such data, despite its usefulness, for example to display the data through a custom UI in an app.
So here are the requirements:
- Battery's current state and level, and relevant events.
- Device's CPU current use, and relevant events.
- Device's RAM memory current use, and relevant events.
- Device's storage memory, possibly with quantity of files, apps installed, etc.
- Wifi connection's current state and quality, and relevant events.
- Bluetooth's current state and quality, and relevant events.
Relevant events means changes in values or state. It's perhaps better to keep an eye on changes than actually ping values constantly.
Also, if possible, most actions should have an option to send data to a live log.
I'm not sure you can actually send such data from an iOS device, connected to the Mac, back to Unity, for all sort of legal and technical reasons.
Eventually, at best, the data would pass through Xcode and back to Unity's own log window, directly from within the
build file, but at least there should be data sent to Xcode's log.
The overall category of the functions that would be used seems to pertain to a section of the iOS native core. If it rings any bell, it seems to be about "UI Device".
In the other thread, you can find plugins which have made accessible the core functions, notably all the
U3DXT set.