New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device Info API's #9
Comments
I think battery information should exist somewhere in here too, perhaps something like: BatteryMethods
|
Maybe battery needs to be a separate API. It may be useful to have more properties:
|
The DeviceInfo API probably should either be static or have a private constructor. |
Yes battery goes in its own class. Can we get charging state on each platform? |
I think so. Moved to #20 |
Additional APIs:
|
We should evaluate what Id means as well. Is it the serial number or a specific Id. I struggled with this a lot. |
I think SerialNumber should give that info and Id should be a unique id compliant with the platform. |
Removing the |
Merged in #54 |
* Work to move thread switching into the library - no need to run on main thread for consumers - samples now have improved view models for page events - pages now derive from BasePage which understands view models - removed caching for device info * Improve the battery test for better failure messages * Fixing the device tests
Basic information about a Device and its Operating system.
DeviceInfo
Properties
DeviceInfo.Idioms
Consts
DeviceInfo.Platforms
Consts
The text was updated successfully, but these errors were encountered: