Builder to build out a ZoomSuggestionOptions.
| ZoomSuggestionOptions |
build()
Builds a
ZoomSuggestionOptions instance.
|
| ZoomSuggestionOptions.Builder |
setMaxSupportedZoomRatio(float maxSupportedZoomRatio)
Sets the max supported zoom ratio.
|
Builder for ZoomSuggestionOptions.
| zoomCallback | The
ZoomSuggestionOptions.ZoomCallback to zoom the camera. |
|---|
Builds a ZoomSuggestionOptions
instance.
Sets the max supported zoom ratio.
Different camera libraries have different ways to fetch the max supported zoom ratio.
If unset, then the library may produce an unbounded zoom ratio.
| maxSupportedZoomRatio | the max supported zoom ratio fetched from camera. |
|---|