Most visited

Recently visited

BuildCompat

public class BuildCompat
extends Object

java.lang.Object
   ↳ android.support.v4.os.BuildCompat


BuildCompat contains additional platform version checking methods for testing compatibility with new features.

Summary

Public methods

static boolean isAtLeastN()

Check if the device is running on the Android N release or newer.

Inherited methods

From class java.lang.Object

Public methods

isAtLeastN

boolean isAtLeastN ()

Check if the device is running on the Android N release or newer.

Returns
boolean true if N APIs are available for use

Hooray!