Class SecurityCtrl


  • public class SecurityCtrl
    extends java.lang.Object
    The type Security ctrl.
    • Constructor Detail

      • SecurityCtrl

        public SecurityCtrl​(android.content.Context context)
        Instantiates a new Security ctrl.
        Parameters:
        context - the context
    • Method Detail

      • setAdbDebugging

        public android.os.Bundle setAdbDebugging​(boolean enabled)
        Set adb debugging .
        Parameters:
        enabled - true or false (boolean)
        Returns:
        A bundle contains the error code and message
        int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
        String errorMsg = bundle.getString("errorMsg");