isBuildAndTargetForQ

public static boolean isBuildAndTargetForQ(Context context)

Indicates whether the Android SDK version is >= Build.VERSION_CODES.Q and the target SDK version is >= Build.VERSION_CODES.Q.

Return

Whether the Android SDK version is >= Build.VERSION_CODES.Q and the target SDK version is >= Build.VERSION_CODES.Q

Parameters

context

The context