-
@ApiStatus.Internal() public final class BuildInfoProvider
The Android Impl. of BuildInfoProvider which returns the Build class info.
-
-
Constructor Summary
Constructors Constructor Description BuildInfoProvider(ILogger logger)
-
Method Summary
Modifier and Type Method Description int
getSdkInfoVersion()
Returns the Build.VERSION. String
getBuildTags()
String
getManufacturer()
String
getModel()
String
getVersionRelease()
Boolean
isEmulator()
Check whether the application is running in an emulator.https://github.com/flutter/plugins/blob/master/packages/device_info/android/src/main/java/io/flutter/plugins/deviceinfo/DeviceInfoPlugin. -
-
Method Detail
-
getSdkInfoVersion
int getSdkInfoVersion()
Returns the Build.VERSION.SDK_INT
-
getBuildTags
@Nullable() String getBuildTags()
-
getManufacturer
@Nullable() String getManufacturer()
-
getVersionRelease
@Nullable() String getVersionRelease()
-
isEmulator
@Nullable() Boolean isEmulator()
Check whether the application is running in an emulator.https://github.com/flutter/plugins/blob/master/packages/device_info/android/src/main/java/io/flutter/plugins/deviceinfo/DeviceInfoPlugin.java#L105
-
-
-
-