AndroidBuildSdkProvider

Provider interface for Android Build SDK version information.

This interface abstracts access to the Android SDK version to enable testing and provide flexibility in determining the current Android version. Different implementations can return different SDK versions for testing various Android version-specific behaviors.

The SDK version is used by PermissionDetector to handle different mount command output formats between Android versions.

Inheritors

Functions

Link copied to clipboard
open fun getSdkVersion(): Int

Returns the Android SDK version.