Skip to main content

Crate lingxia_platform

Crate lingxia_platform 

Source
Expand description

LingXia Platform

This crate provides the platform-specific implementation for LingXia.

Re-exports§

pub use error::*;

Modules§

error
i18n
Localized strings for platform-owned UI.
traits

Structs§

AssetFileEntry
Asset file entry with reader for streaming content
DeviceInfo
Device information
Platform
ScreenInfo
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, and lx.getDeviceInfo().osName (lingxia-logic) so the three can never drift apart. Matches the values the View-side bridge already exposes via usePlatform().os.