Commit a31a43db authored by Felix Abecassis's avatar Felix Abecassis Committed by Edward Wang

libvlc: add functions to query API level 4.2 and 4.3.

Signed-off-by: Edward Wang's avatarEdward Wang <edward.c.wang@compdigitec.com>
parent 15921d29
......@@ -63,6 +63,16 @@ public class LibVlcUtil {
return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN;
}
public static boolean isJellyBeanMR1OrLater()
{
return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1;
}
public static boolean isJellyBeanMR2OrLater()
{
return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR2;
}
private static String errorMsg = null;
private static boolean isCompatible = false;
public static String getErrorMsg() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment