Expand description
Multiplatform service abstractions used by Cranpose applications.
Re-exports§
pub use background::background_activity;pub use background::clear_platform_background_activity;pub use background::set_background_active;pub use background::set_platform_background_activity;pub use background::BackgroundActivity;pub use background::BackgroundActivityRef;pub use camera::camera;pub use camera::clear_platform_camera;pub use camera::set_platform_camera;pub use camera::Camera;pub use camera::CameraError;pub use camera::CameraFrame;pub use camera::CameraRef;pub use device_info::clear_platform_device_info;pub use device_info::device_info;pub use device_info::set_platform_device_info;pub use device_info::DeviceInfo;pub use device_info::DeviceInfoRef;pub use file_picker::clear_platform_file_picker;pub use file_picker::default_file_picker;pub use file_picker::local_file_picker;pub use file_picker::set_platform_file_picker;pub use file_picker::FileFilter;pub use file_picker::FilePicker;pub use file_picker::FilePickerError;pub use file_picker::FilePickerOptions;pub use file_picker::FilePickerRef;pub use file_picker::FolderStream;pub use file_picker::FolderStreamRef;pub use file_picker::PickedEntry;pub use file_picker::PickedEntryRef;pub use file_picker::PickedKind;pub use file_picker::PickerFuture;pub use file_picker::ProvideFilePicker;pub use file_picker::ResumedPick;pub use haptics::clear_platform_haptics;pub use haptics::default_haptics;pub use haptics::local_haptics;pub use haptics::set_platform_haptics;pub use haptics::HapticFeedback;pub use haptics::Haptics;pub use haptics::HapticsRef;pub use haptics::ProvideHaptics;pub use http::default_http_client;pub use http::local_http_client;pub use http::map_ordered_concurrent;pub use http::HttpClient;pub use http::HttpClientRef;pub use http::HttpError;pub use http::HttpFuture;pub use image_picker::clear_platform_image_picker;pub use image_picker::default_image_picker;pub use image_picker::local_image_picker;pub use image_picker::set_platform_image_picker;pub use image_picker::ImagePicker;pub use image_picker::ImagePickerError;pub use image_picker::ImagePickerRef;pub use image_picker::ImageSource;pub use image_picker::ProvideImagePicker;pub use image_picker::IMAGE_EXTENSIONS;pub use navigation::push_back_request;pub use navigation::take_back_requests;pub use network_status::clear_platform_network_monitor;pub use network_status::network_monitor;pub use network_status::network_status;pub use network_status::set_platform_network_monitor;pub use network_status::NetworkMonitor;pub use network_status::NetworkMonitorRef;pub use network_status::NetworkStatus;pub use notifier::clear_platform_notifier;pub use notifier::default_notifier;pub use notifier::local_notifier;pub use notifier::push_notification_deeplink;pub use notifier::set_platform_notifier;pub use notifier::take_notification_deeplink;pub use notifier::Notifier;pub use notifier::NotifierRef;pub use notifier::NotifyRequest;pub use notifier::ProvideNotifier;pub use peer::content_length;pub use peer::fetch_range;pub use peer::fetch_to_writer;pub use peer::ByteSource;pub use peer::BytesSource;pub use peer::FetchResult;pub use peer::PeerError;pub use peer::PeerServer;pub use peer::SourceResolver;pub use theme::default_system_theme;pub use theme::isSystemInDarkTheme;pub use theme::local_system_theme;pub use theme::ProvideSystemTheme;pub use theme::SystemTheme;pub use uri_handler::clear_platform_uri_handler;pub use uri_handler::default_uri_handler;pub use uri_handler::local_uri_handler;pub use uri_handler::set_platform_uri_handler;pub use uri_handler::ProvideUriHandler;pub use uri_handler::UriHandler;pub use uri_handler::UriHandlerError;pub use uri_handler::UriHandlerRef;pub use writable_folder::clear_platform_writable_folder_picker;pub use writable_folder::open_writable_folder;pub use writable_folder::pick_writable_folder;pub use writable_folder::set_platform_writable_folder_picker;pub use writable_folder::set_writable_folder_store_factory;pub use writable_folder::take_resumed_writable_folder;pub use writable_folder::FolderError;pub use writable_folder::WritableFolderPicker;pub use writable_folder::WritableFolderPickerRef;pub use writable_folder::WritableFolderStore;pub use writable_folder::WritableFolderStoreRef;
Modules§
- background
- Background execution: ask the OS to keep running briefly after the app is backgrounded, so in-flight work (e.g. draining a recognition queue) can finish instead of being suspended immediately.
- camera
- Live camera capture: an in-app viewfinder frame source.
- device_
info - Device information (RAM, so far). Apps use it to size in-memory work (e.g. whether a large model fits).
- file_
picker - Native, cross-platform file and folder picker.
- haptics
- Haptic feedback — the framework analogue of Jetpack’s
LocalHapticFeedback. - http
- image_
picker - Photo/image picker: choose a single image from the user’s photo library.
- navigation
- System “back” navigation requests.
- network_
status - Network status (connectivity + whether the connection is metered). Apps use it to defer or confirm large transfers on cellular/metered links.
- notifier
- Local notifications: ask permission and post user-visible notifications.
- peer
- Local-network peer streaming for Cranpose apps.
- share_
sheet - System share sheet: hand a file (and optional text) to the OS share UI so the user can send it to another app.
- theme
- uri_
handler - writable_
folder - Cross-platform access to a user-chosen writable folder.