ApiLevelException

public final class ApiLevelException extends Exception


Exception thrown when the API level of the device is lower than the required API level.

Summary

Public constructors

ApiLevelException(int requiredApiLevel)

Public methods

final int

the required API level

Public constructors

ApiLevelException

public ApiLevelException(int requiredApiLevel)
Parameters
int requiredApiLevel

the required API level

Public methods

getRequiredApiLevel

public final int getRequiredApiLevel()

the required API level