-
public final class BuildCheck
-
-
Method Summary
Modifier and Type Method Description static booleanisCurrentDevelopment()Magic version number for a current development build,which has not yet turned into an official release. static booleanisBase()October 2008: The original, first, version of Android. static booleanisBase11()February 2009: First Android update, officially called 1.1. static booleanisCupcake()May 2009: Android 1.5. static booleanisAndroid1_5()May 2009: Android 1.5. static booleanisDonut()September 2009: Android 1.6. static booleanisAndroid1_6()September 2009: Android 1.6. static booleanisEclair()November 2009: Android 2. static booleanisAndroid2_0()November 2009: Android 2. static booleanisEclair01()December 2009: Android 2.0. static booleanisEclairMR1()January 2010: Android 2. static booleanisFroyo()June 2010: Android 2. static booleanisAndroid2_2()June 2010: Android 2. static booleanisGingerBread()November 2010: Android 2. static booleanisAndroid2_3()November 2010: Android 2. static booleanisGingerBreadMR1()February 2011: Android 2.3.3. static booleanisAndroid2_3_3()February 2011: Android 2.3.3. static booleanisHoneyComb()February 2011: Android 3.0. static booleanisAndroid3()February 2011: Android 3.0. static booleanisHoneyCombMR1()May 2011: Android 3.1. static booleanisAndroid3_1()May 2011: Android 3.1. static booleanisHoneyCombMR2()June 2011: Android 3.2. static booleanisAndroid3_2()June 2011: Android 3.2. static booleanisIcecreamSandwich()October 2011: Android 4.0. static booleanisAndroid4()October 2011: Android 4.0. static booleanisIcecreamSandwichMR1()December 2011: Android 4.0.3. static booleanisAndroid4_0_3()December 2011: Android 4.0.3. static booleanisJellyBean()June 2012: Android 4.1. static booleanisAndroid4_1()June 2012: Android 4.1. static booleanisJellyBeanMr1()November 2012: Android 4.2, Moar jelly beans! static booleanisAndroid4_2()November 2012: Android 4.2, Moar jelly beans! static booleanisJellyBeanMR2()July 2013: Android 4.3, the revenge of the beans. static booleanisAndroid4_3()July 2013: Android 4.3, the revenge of the beans. static booleanisKitKat()October 2013: Android 4.4, KitKat, another tasty treat. static booleanisAndroid4_4()October 2013: Android 4.4, KitKat, another tasty treat. static booleanisKitKatWatch()Android 4.4W: KitKat for watches, snacks on the run. static booleanisL()Lollipop. static booleanisLollipop()Lollipop. static booleanisAndroid5()Lollipop. static booleanisLollipopMR1()Lollipop with an extra sugar coating on the outside! static booleanisM()Marshmallow. static booleanisMarshmallow()Marshmallow. static booleanisAndroid6()Marshmallow. static booleanisN()虫歯の元, API >= 24 static booleanisNougat()歯にくっつくやつ, API >= 24 static booleanisAndroid7()API >= 24 static booleanisNMR1()API>=25 static booleanisNougatMR1()API>=25 static booleanisO()おれおれぇー API>=26 static booleanisOreo()おれおれぇー API>=26 static booleanisAndroid8()おれおれぇー API>=26 static booleanisOMR1()おれおれぇー API>=27 static booleanisOreoMR1()おれおれぇー MR1 API>=27 -
-
Method Detail
-
isCurrentDevelopment
static boolean isCurrentDevelopment()
Magic version number for a current development build,which has not yet turned into an official release. API=10000
-
isBase
static boolean isBase()
October 2008: The original, first, version of Android. Yay!, API>=1
-
isBase11
static boolean isBase11()
February 2009: First Android update, officially called 1.1., API>=2
-
isCupcake
static boolean isCupcake()
May 2009: Android 1.5., API>=3
-
isAndroid1_5
static boolean isAndroid1_5()
May 2009: Android 1.5., API>=3
-
isDonut
static boolean isDonut()
September 2009: Android 1.6., API>=4
-
isAndroid1_6
static boolean isAndroid1_6()
September 2009: Android 1.6., API>=4
-
isEclair
static boolean isEclair()
November 2009: Android 2.0, API>=5
-
isAndroid2_0
static boolean isAndroid2_0()
November 2009: Android 2.0, API>=5
-
isEclair01
static boolean isEclair01()
December 2009: Android 2.0.1, API>=6
-
isEclairMR1
static boolean isEclairMR1()
January 2010: Android 2.1, API>=7
-
isFroyo
static boolean isFroyo()
June 2010: Android 2.2, API>=8
-
isAndroid2_2
static boolean isAndroid2_2()
June 2010: Android 2.2, API>=8
-
isGingerBread
static boolean isGingerBread()
November 2010: Android 2.3, API>=9
-
isAndroid2_3
static boolean isAndroid2_3()
November 2010: Android 2.3, API>=9
-
isGingerBreadMR1
static boolean isGingerBreadMR1()
February 2011: Android 2.3.3., API>=10
-
isAndroid2_3_3
static boolean isAndroid2_3_3()
February 2011: Android 2.3.3., API>=10
-
isHoneyComb
static boolean isHoneyComb()
February 2011: Android 3.0., API>=11
-
isAndroid3
static boolean isAndroid3()
February 2011: Android 3.0., API>=11
-
isHoneyCombMR1
static boolean isHoneyCombMR1()
May 2011: Android 3.1., API>=12
-
isAndroid3_1
static boolean isAndroid3_1()
May 2011: Android 3.1., API>=12
-
isHoneyCombMR2
static boolean isHoneyCombMR2()
June 2011: Android 3.2., API>=13
-
isAndroid3_2
static boolean isAndroid3_2()
June 2011: Android 3.2., API>=13
-
isIcecreamSandwich
static boolean isIcecreamSandwich()
October 2011: Android 4.0., API>=14
-
isAndroid4
static boolean isAndroid4()
October 2011: Android 4.0., API>=14
-
isIcecreamSandwichMR1
static boolean isIcecreamSandwichMR1()
December 2011: Android 4.0.3., API>=15
-
isAndroid4_0_3
static boolean isAndroid4_0_3()
December 2011: Android 4.0.3., API>=15
-
isJellyBean
static boolean isJellyBean()
June 2012: Android 4.1., API>=16
-
isAndroid4_1
static boolean isAndroid4_1()
June 2012: Android 4.1., API>=16
-
isJellyBeanMr1
static boolean isJellyBeanMr1()
November 2012: Android 4.2, Moar jelly beans!, API>=17
-
isAndroid4_2
static boolean isAndroid4_2()
November 2012: Android 4.2, Moar jelly beans!, API>=17
-
isJellyBeanMR2
static boolean isJellyBeanMR2()
July 2013: Android 4.3, the revenge of the beans., API>=18
-
isAndroid4_3
static boolean isAndroid4_3()
July 2013: Android 4.3, the revenge of the beans., API>=18
-
isKitKat
static boolean isKitKat()
October 2013: Android 4.4, KitKat, another tasty treat., API>=19
-
isAndroid4_4
static boolean isAndroid4_4()
October 2013: Android 4.4, KitKat, another tasty treat., API>=19
-
isKitKatWatch
static boolean isKitKatWatch()
Android 4.4W: KitKat for watches, snacks on the run., API>=20
-
isL
static boolean isL()
Lollipop. A flat one with beautiful shadows. But still tasty., API>=21
-
isLollipop
static boolean isLollipop()
Lollipop. A flat one with beautiful shadows. But still tasty., API>=21
-
isAndroid5
static boolean isAndroid5()
Lollipop. A flat one with beautiful shadows. But still tasty., API>=21
-
isLollipopMR1
static boolean isLollipopMR1()
Lollipop with an extra sugar coating on the outside!, API>=22
-
isM
static boolean isM()
Marshmallow. A flat one with beautiful shadows. But still tasty., API>=23
-
isMarshmallow
static boolean isMarshmallow()
Marshmallow. A flat one with beautiful shadows. But still tasty., API>=23
-
isAndroid6
static boolean isAndroid6()
Marshmallow. A flat one with beautiful shadows. But still tasty., API>=23
-
isN
static boolean isN()
虫歯の元, API >= 24
-
isNougat
static boolean isNougat()
歯にくっつくやつ, API >= 24
-
isAndroid7
static boolean isAndroid7()
API >= 24
-
isNMR1
static boolean isNMR1()
API>=25
-
isNougatMR1
static boolean isNougatMR1()
API>=25
-
isO
static boolean isO()
おれおれぇー API>=26
-
isOreo
static boolean isOreo()
おれおれぇー API>=26
-
isAndroid8
static boolean isAndroid8()
おれおれぇー API>=26
-
isOMR1
static boolean isOMR1()
おれおれぇー API>=27
-
isOreoMR1
static boolean isOreoMR1()
おれおれぇー MR1 API>=27
-
-
-
-