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)

Utility for checking build properties, such as emulator detection.

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

Whether the app is currently running on an emulator.

Link copied to clipboard
actual val sdkInt: Int

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

expect val sdkInt: Int

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

actual val sdkInt: Int = 0

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