Package org.mozilla.geckoview
Class GeckoSession.AnalysisStatusResponse.Builder
Object
org.mozilla.geckoview.GeckoSession.AnalysisStatusResponse.Builder
- Enclosing class:
- GeckoSession.AnalysisStatusResponse
This is a Builder used by AnalysisStatusResponse class
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
Construct a Builder instance with the specified AnalysisStatusResponse status.- Parameters:
status
- A status String.
-
-
Method Details
-
status
@AnyThread @NonNull public GeckoSession.AnalysisStatusResponse.Builder status(@NonNull String status) Set the status.- Parameters:
status
- A status String.- Returns:
- This Builder instance.
-
progress
@AnyThread @NonNull public GeckoSession.AnalysisStatusResponse.Builder progress(@NonNull Double progress) Set the progress.- Parameters:
progress
- Indicates the progress of the analysis.- Returns:
- This Builder instance.
-
build
- Returns:
- A
GeckoSession.AnalysisStatusResponse
constructed with the values from this Builder instance.
-