Package org.mozilla.geckoview
Class ContentBlocking.BlockEvent
Object
org.mozilla.geckoview.ContentBlocking.BlockEvent
- Enclosing class:
- ContentBlocking
Holds content block event details.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
The anti-tracking category types of the blocked resource.int
The cookie types of the blocked resource.int
The safe browsing category types of the blocked resource.boolean
-
Field Details
-
uri
The URI of the blocked resource.
-
-
Constructor Details
-
BlockEvent
-
-
Method Details
-
getAntiTrackingCategory
@UiThread public int getAntiTrackingCategory()The anti-tracking category types of the blocked resource.- Returns:
- One or more of the
ContentBlocking.AntiTracking
flags.
-
getSafeBrowsingCategory
@UiThread public int getSafeBrowsingCategory()The safe browsing category types of the blocked resource.- Returns:
- One or more of the
ContentBlocking.SafeBrowsing
flags.
-
getCookieBehaviorCategory
@UiThread public int getCookieBehaviorCategory()The cookie types of the blocked resource.- Returns:
- One or more of the
ContentBlocking.CookieBehavior
flags.
-
isBlocking
@UiThread public boolean isBlocking()
-