AndroidSettingsPlatformActions
Android bridge used by Settings for permissions plus cache/model byte summaries.
Author
Dmitriy Moroz
Parameters
Android context used for permissions, app-private storage, links, and toasts.
Launcher for Android storage/media runtime permissions.
Launcher for Android notification runtime permission.
Pending storage permission continuation.
Pending notification permission continuation.
Constructors
Properties
Localization key for the warning shown under the background generation toggle.
True when saving generated images through MediaStore still needs a runtime storage permission.
True when this target can continue generation work after the app leaves foreground.
Functions
Clears app cache files after a caller has shown destructive confirmation.
Returns total bytes occupied by every downloaded model directory visible to the platform.
Returns current app cache byte size for the Settings summary row.
Returns total bytes occupied by downloaded model directories for modelIds.
Converts a raw storage counter into a user-visible amount.
Opens this app's platform settings page.
Requests notification permission when the platform requires it for background generation.
Requests storage/media permission when the platform requires it for gallery saves.
Opens the problem-report channel with diagnostic context prepared by the platform.
Shows platform feedback after developer mode is unlocked.