DeviceSystem
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (4.1.0.0)
Provides information related to the device's system.
- C#
- VB.NET
public class DeviceSystem : DeviceInfoBase
Public Class DeviceSystem
Inherits DeviceInfoBase
Access this class through the Device singleton.
Properties
AppName
String: Gets the name of the application.
AppTheme
AppTheme: App theme (i.e. light, dark, etc.)
DeviceName
String: The name identifying the device.
DeviceType
DeviceType: Gets the type of device (physical / virtual).
ID
String: Unique device ID.
Idiom
DeviceIdiom: The type of device.
IsAndroid
Boolean: Returns true if the device is Android.
IsApple
Boolean: Returns true if the device is an Apple device.
True for: iOS tvOS macOS watchOS MacCatalyst
IsDesktop
Boolean: Returns true if the current device is a desktop.
IsMobile
Boolean: Returns true if the current device is a phone or tablet.
IsPhone
Boolean: Returns true if the current device is a phone.
IsTablet
Boolean: Returns true if the current device is a tablet.
IsWindows
Boolean: Returns true if the device is Windows.
UWP or WinUI.
Manufacturer
String: Device manufacturer.
Model
String: The model of the device.
OfflineUrl
String: Gets the offline embedded web server url, if started.
PackageName
String: Gets the name of the package.
PackagingModel
AppPackagingModel: Gets whether the app has been packaged as an MSIX or an independent executable.
Windows only.
Platform
DevicePlatform: The name of the operating system running on the device.
Version
String: The current version of the operating system.
Methods
OnWebUpdate(info)
Populates and updates DeviceSystem with device information.
| Parameter | Type | Description |
|---|---|---|
| info | Object | The dynamic info object. |