code: def _android_documents_folder() -> str:
      """:return: documents folder for the Android OS"""
      # Get directories with pyjnius
      try:
          from jnius import autoclass
  
          context = autoclass("android.content.Context")
          environment = autoclass("android.os.Environment")
          documents_dir: str = context.getExternalFilesDir(
              environment.DIRECTORY_DOCUMENTS
          ).getAbsolutePath()
      except Exception:  # noqa: BLE001
          documents_dir = "/storage/emulated/0/Documents"
  
      return documents_dir
  
imports: from __future__ import annotations
  import os
  import re
  import sys
  from functools import lru_cache
  from typing import cast
  from .api import PlatformDirsABC
label_desc: Use image node_id 2 for calling a global function with example usage: _android_documents_folder() and returns: documents_dir