1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/// Canonical vendor identifier for QuickApp Alliance (`@system.*` standard).
pub const QUICKAPP_VENDOR_ALLIANCE: &str = "quickapp-alliance";
/// Canonical vendor identifier for Huawei QuickApp (`@system.*` + `@service.*`).
pub const QUICKAPP_VENDOR_HUAWEI: &str = "quickapp-huawei";
/// Standard QuickApp Alliance design width in virtual pixels (`750px`).
pub const QUICKAPP_DESIGN_WIDTH_PX: f32 = 750.0;
/// QuickApp `@system.router` feature module identifier.
pub const QUICKAPP_FEATURE_ROUTER: &str = "system.router";
/// QuickApp `@system.storage` feature module identifier.
pub const QUICKAPP_FEATURE_STORAGE: &str = "system.storage";
/// QuickApp `@system.clipboard` feature module identifier.
pub const QUICKAPP_FEATURE_CLIPBOARD: &str = "system.clipboard";
/// QuickApp `@system.device` feature module identifier.
pub const QUICKAPP_FEATURE_DEVICE: &str = "system.device";
/// QuickApp `@system.network` feature module identifier.
pub const QUICKAPP_FEATURE_NETWORK: &str = "system.network";
/// QuickApp `@system.vibrator` feature module identifier.
pub const QUICKAPP_FEATURE_VIBRATOR: &str = "system.vibrator";
/// QuickApp `@system.prompt` feature module identifier.
pub const QUICKAPP_FEATURE_PROMPT: &str = "system.prompt";
/// QuickApp `@system.share` feature module identifier.
pub const QUICKAPP_FEATURE_SHARE: &str = "system.share";
/// Default QuickApp physical screen width in pixels.
pub const QUICKAPP_DEFAULT_SCREEN_W_PX: u32 = 1080;
/// Default QuickApp physical screen height in pixels.
pub const QUICKAPP_DEFAULT_SCREEN_H_PX: u32 = 2400;
/// Default QuickApp display density scale factor.
pub const QUICKAPP_DEFAULT_DENSITY: f32 = 3.0;
/// Default QuickApp status bar height in physical pixels.
pub const QUICKAPP_DEFAULT_STATUS_BAR_PX: u32 = 108;
/// Default QuickApp bottom navigation indicator height in physical pixels.
pub const QUICKAPP_DEFAULT_NAV_BAR_PX: u32 = 72;
/// Default QuickApp initial page route path.
pub const QUICKAPP_DEFAULT_ROUTE: &str = "/Index";