OS
EnumTypes of operating system that may be running on the device.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Index
Example
var osType = global.deviceInfoSystem.getOS();
var isMobile = (osType == OS.iOS || osType == OS.Android);
Enumeration Members
Android
Android:
number
Android device
iOS
iOS:
number
iOS device
MacOS
MacOS:
number
MacOS device
Windows
Windows:
number
Windows device