Expand description
LingXia Platform
This crate provides the platform-specific implementation for LingXia.
Re-exports§
pub use error::*;
Modules§
Structs§
- Asset
File Entry - Asset file entry with reader for streaming content
- Device
Info - Device information
- Platform
- Screen
Info - Screen information reported in logical pixels (dp/pt) and scale factor
Functions§
- os_
label - Canonical platform-family label — the single source of truth for “which
OS is this,” shared by the WebView bridge config injection
(
lingxia-lxapp),lx.app.getBaseInfo().os, andlx.getDeviceInfo().osName(lingxia-logic) so the three can never drift apart. Matches the values the View-side bridge already exposes viausePlatform().os.