Platform
Read-only snapshot of platform/device information, resolved once per platform target (expect/actual). Every field here is sent as an x-mosaic-* header (x-mosaic-platform-name, x-mosaic-device, etc.) on every outgoing HTTP request, via MosaicHeadersPlugin — so a backend can branch on client platform/device/locale/theme without the DSL author having to declare that data explicitly on each request. It's a plain object, not Koin-injected, so a custom EventRunner/TileRenderer can also read it directly for its own purposes.
Read-only snapshot of platform/device information, resolved once per platform target (expect/actual). Every field here is sent as an x-mosaic-* header (x-mosaic-platform-name, x-mosaic-device, etc.) on every outgoing HTTP request, via MosaicHeadersPlugin — so a backend can branch on client platform/device/locale/theme without the DSL author having to declare that data explicitly on each request. It's a plain object, not Koin-injected, so a custom EventRunner/TileRenderer can also read it directly for its own purposes.
Read-only snapshot of platform/device information, resolved once per platform target (expect/actual). Every field here is sent as an x-mosaic-* header (x-mosaic-platform-name, x-mosaic-device, etc.) on every outgoing HTTP request, via MosaicHeadersPlugin — so a backend can branch on client platform/device/locale/theme without the DSL author having to declare that data explicitly on each request. It's a plain object, not Koin-injected, so a custom EventRunner/TileRenderer can also read it directly for its own purposes.
Read-only snapshot of platform/device information, resolved once per platform target (expect/actual). Every field here is sent as an x-mosaic-* header (x-mosaic-platform-name, x-mosaic-device, etc.) on every outgoing HTTP request, via MosaicHeadersPlugin — so a backend can branch on client platform/device/locale/theme without the DSL author having to declare that data explicitly on each request. It's a plain object, not Koin-injected, so a custom EventRunner/TileRenderer can also read it directly for its own purposes.
Read-only snapshot of platform/device information, resolved once per platform target (expect/actual). Every field here is sent as an x-mosaic-* header (x-mosaic-platform-name, x-mosaic-device, etc.) on every outgoing HTTP request, via MosaicHeadersPlugin — so a backend can branch on client platform/device/locale/theme without the DSL author having to declare that data explicitly on each request. It's a plain object, not Koin-injected, so a custom EventRunner/TileRenderer can also read it directly for its own purposes.
Properties
Extra platform-specific key-value pairs not covered by the other properties.
Extra platform-specific key-value pairs not covered by the other properties.
Extra platform-specific key-value pairs not covered by the other properties.
Extra platform-specific key-value pairs not covered by the other properties.
Screen density as a decimal string, e.g. "1.0".
Screen density as a decimal string, e.g. "1.0".
Screen density as a decimal string, e.g. "1.0".
Screen density as a decimal string, e.g. "1.0".
Screen density as a decimal string, e.g. "1.0".
Screen size as "WIDTHxHEIGHT", e.g. "1920x1080".
Screen size as "WIDTHxHEIGHT", e.g. "1920x1080".
Screen size as "WIDTHxHEIGHT", e.g. "1920x1080".
Screen size as "WIDTHxHEIGHT", e.g. "1920x1080".
Screen size as "WIDTHxHEIGHT", e.g. "1920x1080".
Current timezone as "offset|timezoneId", e.g. "GMT+09:30|Australia/Darwin".
Current timezone as "offset|timezoneId", e.g. "GMT+09:30|Australia/Darwin".
Current timezone as "offset|timezoneId", e.g. "GMT+09:30|Australia/Darwin".
Current timezone as "offset|timezoneId", e.g. "GMT+09:30|Australia/Darwin".