Package com.leia.sdk

Class FaceTrackingHelper


  • public class FaceTrackingHelper
    extends Object
    • Constructor Detail

      • FaceTrackingHelper

        public FaceTrackingHelper()
    • 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 dialog
        killProcess - whether to kill the process if the user denies the permission