Package io.okhi.android_okcollect
Class OkCollect.Builder
java.lang.Object
io.okhi.android_okcollect.OkCollect.Builder
- Enclosing class:
- OkCollect
OkCollect builder class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create an instance of okcollectwithConfig
(OkHiConfig okHiConfig) launch okhi address creation.Configure the look and feel of the webview.
-
Constructor Details
-
Builder
public Builder(@NonNull android.app.Activity activity) OkCollect builder.- Parameters:
activity
- the context to run okhi webview.
-
-
Method Details
-
withTheme
Configure the look and feel of the webview. Makes the app bar visible. Default is false, app bar not visible.- Parameters:
okHiTheme
- object to configure the look and feel of the webview.
-
withConfig
launch okhi address creation. Enables streetview functionality in address creation. Default is false, streetview functionality not enabled.- Parameters:
okHiConfig
- object to enable streetview.
-
build
Create an instance of okcollect
-