AndroidAPI class

There are several API level of an android application. The API level refers to the android version and the available features. Check for the required feature set, to decide the right level for your application.

Constructors

AndroidAPI(int level, Version version)
Creates an instance of AndroidAPI with a specific level and its corresponding Android OS version.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
level int
The integer API level.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version Version
The corresponding Android operating system version.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

lollipop → const AndroidAPI
Android 5.1 Lollipop (API level 22)
marshmallow → const AndroidAPI
Android 6.0 Marshmallow (API level 23)
nougat → const AndroidAPI
Android 7.1 Nougat (API level 25)
oreo → const AndroidAPI
Android 8.1 Oreo (API level 27)
pie → const AndroidAPI
Android 9.0 Pie (API level 28)
quincetart → const AndroidAPI
Android 10.0 Quince Tart (API level 29)
snowcone → const AndroidAPI
Android 12.1/12L Snow Cone (API level 32)
tiramisu → const AndroidAPI
Android 13.0 Tiramisu (API level 33)
upsidedowncake → const AndroidAPI
Android 14.0 Upside Down Cake (API level 34)
velvetcake → const AndroidAPI
Android 11.0 Velvet Cake (API level 30)