Package com.leia.sdk
Class FaceTrackingHelper
- java.lang.Object
-
- com.leia.sdk.FaceTrackingHelper
-
public class FaceTrackingHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description FaceTrackingHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkPermission(Activity activity, boolean killProcess)
Check face tracking permission.
-
-
-
Method Detail
-
checkPermission
public static void checkPermission(Activity activity, boolean killProcess)
Check face tracking permission. If the permission is not granted, ConfirmationDialog is shown.- Parameters:
activity
- an activity on which to show the dialogkillProcess
- whether to kill the process if the user denies the permission
-
-