android-components / mozilla.components.browser.session / Session / contentPermissionRequest

contentPermissionRequest

var contentPermissionRequest: Consumable<PermissionRequest> (source)

Consumable permission request from web content. A PermissionRequest must be consumed i.e. either PermissionRequest.grant or PermissionRequest.reject must be called. A content permission request can also be cancelled, which will result in a new empty Consumable.

Getter

Consumable permission request from web content. A PermissionRequest must be consumed i.e. either PermissionRequest.grant or PermissionRequest.reject must be called. A content permission request can also be cancelled, which will result in a new empty Consumable.

Setter

Consumable permission request from web content. A PermissionRequest must be consumed i.e. either PermissionRequest.grant or PermissionRequest.reject must be called. A content permission request can also be cancelled, which will result in a new empty Consumable.