We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0c12d7 commit bdaa654Copy full SHA for bdaa654
README.md
@@ -264,15 +264,11 @@ var isSim = device.isVirtual;
264
265
## device.sdkVersion (Android only)
266
267
-Will return the Android device's SDK version.
+Get the Android device's SDK version ([SDK_INT](https://developer.android.com/reference/android/os/Build.VERSION#SDK_INT)).
268
269
### Supported Platforms
270
271
- Android
272
-- Browser
273
-- iOS
274
-- Windows
275
-- OS X
276
277
### OS X and Browser Quirk
278
types/index.d.ts
@@ -30,6 +30,8 @@ interface Device {
30
isVirtual: boolean;
31
/** Get the device hardware serial number. */
32
serial: string;
33
+ /** Get the Android device's SDK version. (Android-only) */
34
+ sdkVersion?: string;
35
}
36
37
declare var device: Device;
0 commit comments