Package org.mozilla.geckoview
Class GeckoSession.ReviewAnalysis
Object
org.mozilla.geckoview.GeckoSession.ReviewAnalysis
- Enclosing class:
- GeckoSession
Contains information about the analysis of a product's reviews.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This is a Builder used by ReviewAnalysis classstatic class
Contains information about highlights of a product's reviews. -
Field Summary
Modifier and TypeFieldDescriptionfinal Double
Product rating adjusted to exclude untrusted reviews.final String
Analysis URL.final boolean
Boolean indicating if this product is now deleted.final boolean
Boolean indicating if reported that this product has been deleted.final String
Reliability grade for the product's reviews.Object containing highlights for product.final long
Time since the last analysis was performed.final boolean
Boolean indicating if the analysis is stale.final boolean
Boolean indicating if there are not enough reviews.final boolean
Boolean indicating if the page is not supported.final String
Product identifier (ASIN/SKU). -
Constructor Summary
ModifierConstructorDescriptionprotected
Initialize a ReviewAnalysis object with a builder object -
Method Summary
-
Field Details
-
analysisURL
Analysis URL. -
productId
Product identifier (ASIN/SKU). -
grade
Reliability grade for the product's reviews. -
adjustedRating
Product rating adjusted to exclude untrusted reviews. -
needsAnalysis
public final boolean needsAnalysisBoolean indicating if the analysis is stale. -
pageNotSupported
public final boolean pageNotSupportedBoolean indicating if the page is not supported. -
notEnoughReviews
public final boolean notEnoughReviewsBoolean indicating if there are not enough reviews. -
highlights
Object containing highlights for product. -
lastAnalysisTime
public final long lastAnalysisTimeTime since the last analysis was performed. -
deletedProductReported
public final boolean deletedProductReportedBoolean indicating if reported that this product has been deleted. -
deletedProduct
public final boolean deletedProductBoolean indicating if this product is now deleted.
-
-
Constructor Details
-
ReviewAnalysis
Initialize a ReviewAnalysis object with a builder object- Parameters:
builder
- A ReviewAnalysis.Builder instance
-