osVersionCode property

num osVersionCode
getter/setter pair

Operate system version code

  • Android: Android API level
  • iOS: OS version (e.g. 16.4)
  • Web: OS version (If os version can't be parsed to a number, it will return -1)

Implementation

num osVersionCode;