Skip to main content

OS

Enum

Types 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.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

Index

Enumeration Members

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