android-components / mozilla.components.feature.sitepermissions

Package mozilla.components.feature.sitepermissions


Name Summary
SitePermissions data class SitePermissions : Parcelable
A site permissions and its state.
SitePermissionsFeature class SitePermissionsFeature : LifecycleAwareFeature
This feature will subscribe to the currently selected Session and display a suitable dialogs based on Session.Observer.onAppPermissionRequested or Session.Observer.onContentPermissionRequested events. Once the dialog is closed the PermissionRequest will be consumed.
SitePermissionsRules data class SitePermissionsRules
Indicate how site permissions must behave by permission category.
SitePermissionsStorage class SitePermissionsStorage
A storage implementation to save SitePermissions.

Type Aliases

Name Summary
OnNeedToRequestPermissions typealias OnNeedToRequestPermissions = (permissions: Array<String>) -> Unit