public AndroidImpl(ScriptRunnerService AccessibilityService)
        {
            _accessibilityService = AccessibilityService;

            RegisterStorageRootDir();

            OpenCVLoader.InitDebug();
        }
        public AndroidImpl(ScriptRunnerService AccessibilityService)
        {
            _accessibilityService = AccessibilityService;
            _prefs = PreferenceManager.GetDefaultSharedPreferences(_accessibilityService);

            RegisterStorageRootDir();

            OpenCVLoader.InitDebug();
        }
Exemple #3
0
        public override bool OnUnbind(Intent Intent)
        {
            Stop();

            Instance = null;
            ServiceStarted = false;

            return base.OnUnbind(Intent);
        }
        public override bool OnUnbind(Intent Intent)
        {
            Stop();

            Instance       = null;
            ServiceStarted = false;

            _imageReader?.Close();
            _imageReader = null;

            return(base.OnUnbind(Intent));
        }