FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

pythonnative/docs/api/native_modules.md at main · andevsr/pythonnative · GitHub

Repository navigation

Latest commit

 

History

History
144 lines (112 loc) · 3.38 KB

File metadata and controls

144 lines (112 loc) · 3.38 KB

Native modules

Cross-platform wrappers around device APIs that are not part of the view tree: camera, GPS, file I/O, notifications, clipboard, share sheet, deep links, permissions, connectivity, secure storage, battery, haptics, and biometrics. Each module is implemented twice (once per platform) and dispatches at runtime based on the IS_ANDROID and IS_IOS flags from pythonnative.utils, with a safe desktop fallback.

Both synchronous and coroutine APIs exist (chosen to match the platform call). For the call-site patterns, the reactive use_app_state / use_net_info hooks, and the runtime coroutines are scheduled on, see the Native modules guide and the Async + data guide.

Camera

::: pythonnative.native_modules.camera options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Location

::: pythonnative.native_modules.location options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

File system

::: pythonnative.native_modules.file_system options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Notifications

::: pythonnative.native_modules.notifications options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Clipboard

::: pythonnative.native_modules.clipboard options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Share

::: pythonnative.native_modules.share options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Linking

::: pythonnative.native_modules.linking options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Permissions

::: pythonnative.native_modules.permissions options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

App state

::: pythonnative.native_modules.app_state options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Network connectivity

::: pythonnative.native_modules.net_info options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Secure storage

::: pythonnative.native_modules.secure_store options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Battery

::: pythonnative.native_modules.battery options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Haptics & vibration

::: pythonnative.native_modules.haptics options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Biometrics

::: pythonnative.native_modules.biometrics options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Next steps


Back | FazBrowse Home | New Git URL