#harmony-os #open-harmony #devices #ffi

ohos-deviceinfo-sys

Bindings to OpenHarmony OS APIs providing information about the device

6 releases

0.1.6 Dec 15, 2025
0.1.5 Jun 27, 2025
0.1.3 Mar 6, 2025
0.1.2 Jan 9, 2025
0.1.0 Aug 29, 2024

#514 in Operating systems

Download history 2633/week @ 2025-11-18 1786/week @ 2025-11-25 1689/week @ 2025-12-02 1742/week @ 2025-12-09 2132/week @ 2025-12-16 1727/week @ 2025-12-23 1726/week @ 2025-12-30 2066/week @ 2026-01-06 2385/week @ 2026-01-13 2350/week @ 2026-01-20 2115/week @ 2026-01-27 2595/week @ 2026-02-03 2203/week @ 2026-02-10 1975/week @ 2026-02-17 2748/week @ 2026-02-24 2174/week @ 2026-03-03

9,586 downloads per month
Used in 2 crates

Apache-2.0

12KB

OpenHarmony functions providing device information.

See also the official DeviceInfo documentation.


DeviceInfo native bindings for OpenHarmony

Raw bindings to native DeviceInfo APIs on OpenHarmony.

C API reference: https://gitcode.com/openharmony/docs/blob/master/en/application-dev/reference/apis-basic-services-kit/capi-deviceinfo.md

Development

This crate is developed as part of the ohos-sys bindings.

License

This crate is licensed under the Apache-2.0 license, matching the OpenHarmony OS SDK.

Dependencies

~29KB