public final class SKUtilities
extends java.lang.Object
Constructor and Description |
---|
SKUtilities() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkPermission(Context context,
java.lang.String permission)
Check whether a given permission has been granted
|
static long |
getCurrentTimeMillis()
Get the current time in milliseconds (the difference between the current time and midnight, January 1, 1970 UTC)
|
static long |
getNanoTime()
Get the current time in nanoseconds (the current value of the running Java Virtual Machine's high-resolution time source)
|
public static boolean checkPermission(Context context, java.lang.String permission) throws SKException
context
- Android Contextpermission
- Android permissionSKException
public static long getCurrentTimeMillis()
public static long getNanoTime()