pub struct AppContext {
pub app_start_time: Annotated<String>,
pub device_app_hash: Annotated<String>,
pub build_type: Annotated<String>,
pub app_identifier: Annotated<String>,
pub app_name: Annotated<String>,
pub app_version: Annotated<String>,
pub app_build: Annotated<LenientString>,
pub app_memory: Annotated<u64>,
pub in_foreground: Annotated<bool>,
pub view_names: Annotated<Vec<Annotated<String>>>,
pub other: Object<Value>,
}
Expand description
Application information.
App context describes the application. As opposed to the runtime, this is the actual application that was running and carries metadata about the current session.
Fields§
§app_start_time: Annotated<String>
Start time of the app.
Formatted UTC timestamp when the user started the application.
device_app_hash: Annotated<String>
Application-specific device identifier.
build_type: Annotated<String>
String identifying the kind of build. For example, testflight
.
app_identifier: Annotated<String>
Version-independent application identifier, often a dotted bundle ID.
app_name: Annotated<String>
Application name as it appears on the platform.
app_version: Annotated<String>
Application version as it appears on the platform.
app_build: Annotated<LenientString>
Internal build ID as it appears on the platform.
app_memory: Annotated<u64>
Amount of memory used by the application in bytes.
in_foreground: Annotated<bool>
A flag indicating whether the app is in foreground or not. An app is in foreground when it’s visible to the user.
view_names: Annotated<Vec<Annotated<String>>>
The names of the currently visible views.
other: Object<Value>
Additional arbitrary fields for forwards compatibility.
Trait Implementations§
Source§impl Clone for AppContext
impl Clone for AppContext
Source§fn clone(&self) -> AppContext
fn clone(&self) -> AppContext
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AppContext
impl Debug for AppContext
Source§impl Default for AppContext
impl Default for AppContext
Source§fn default() -> AppContext
fn default() -> AppContext
Source§impl DefaultContext for AppContext
impl DefaultContext for AppContext
Source§fn default_key() -> &'static str
fn default_key() -> &'static str
Contexts
.