Class OkHiTheme.Builder

java.lang.Object
io.okhi.android_okcollect.utilities.OkHiTheme.Builder
Enclosing class:
OkHiTheme

public static class OkHiTheme.Builder extends Object
OkHiTheme builder class
  • Constructor Details

    • Builder

      public Builder(@NonNull String primaryColor)
      OkHiTheme builder
      Parameters:
      primaryColor -
  • Method Details

    • setAppBarLogo

      public OkHiTheme.Builder setAppBarLogo(@NonNull String logoUrl)
      OkHiTheme builder enabling the appbar to be displayed in the webview
      Parameters:
      logoUrl - Optional. Sets the logo image to display in your app bar
    • setAppBarColor

      public OkHiTheme.Builder setAppBarColor(@NonNull String appBarColor)
      Parameters:
      appBarColor - Optional. Sets the color of your app bar
    • build

      public OkHiTheme build()
      Create an instance of OkHiTheme class