Detect Android N version code
<p>Is it possible to detect if an user is running Android N?</p>

<p>I have a Nexus 6 with the Android N Developer Preview. If I try to get the build version with <code>Build.VERSION.SDK_INT</code>, it returns 23 which is equal to Android Marshmallow.</p>