BuildUtils

actual object BuildUtils(source)

Utility for checking build properties, such as emulator detection.

expect object BuildUtils(source)

Utility for checking build properties, such as emulator detection.

actual object BuildUtils(source)

Properties

Link copied to clipboard
actual val isEmulator: Boolean

Whether the app is currently running on an emulator.

expect val isEmulator: Boolean

Whether the app is currently running on an emulator.

actual val isEmulator: Boolean = false
Link copied to clipboard
actual val sdkInt: Int
expect val sdkInt: Int

The SDK version of the current platform. On non-Android platforms, this returns 0.

actual val sdkInt: Int = 0