Package org.mozilla.geckoview
Class ContentBlockingController
Object
org.mozilla.geckoview.ContentBlockingController
ContentBlockingController is used to manage and modify the content blocking exception list. This
list is shared across all sessions.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
An entry in the content blocking log for a site. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLog
(GeckoSession session) Get a log of all content blocking information for the site currently loaded by the suppliedGeckoSession
.
-
Constructor Details
-
ContentBlockingController
public ContentBlockingController()
-
-
Method Details
-
getLog
@UiThread @NonNull public GeckoResult<List<ContentBlockingController.LogEntry>> getLog(@NonNull GeckoSession session) Get a log of all content blocking information for the site currently loaded by the suppliedGeckoSession
.- Parameters:
session
- AGeckoSession
for which you want the content blocking log.- Returns:
- A
GeckoResult
that resolves to the list of content blocking log entries.
-