is M - Android Android OS

Android examples for Android OS:OS Version

Description

is M

Demo Code

import android.os.Build;

public class Main {
  public static boolean isM() {
    return Build.VERSION.SDK_INT >= Build.VERSION_CODES.M;
  }//  w  ww.j  av  a 2  s . co  m
}

Related Tutorials