-
@ApiStatus.Internal() public final class BuildInfoProviderThe 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 intgetSdkInfoVersion()Returns the Build.VERSION. StringgetBuildTags()StringgetManufacturer()StringgetModel()StringgetVersionRelease()BooleanisEmulator()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
-
-
-
-