Unknown
View sourceNo supported operating-system category was detected (0).
This is the default platform on a new Device.
Enum
Identifies the operating-system categories used by a Device
resource.
Use these values to interpret a device’s detected platform. Unknown
represents a device whose platform is not one of the supported categories.
import { Device, PlatformOS } from '@wimaengine/device'
const device = new Device()
if (device.platform === PlatformOS.Unknown) {
console.log('Platform was not recognized')
}No supported operating-system category was detected (0).
This is the default platform on a new Device.
Android mobile platform (1).
The iOS mobile platform (2).
Linux PC platform (3).
Windows PC platform (4).
The macOS PC platform (5).