public static final class FlurryCustomTabsSetting.Builder
extends java.lang.Object
FlurryCustomTabsSetting
instanceConstructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FlurryCustomTabsSetting |
build()
Combines all the options that have been set and returns a new
FlurryCustomTabsSetting
object. |
FlurryCustomTabsSetting.Builder |
enableUrlBarHiding()
Enables the url bar to hide as the user scrolls down on the page.
|
FlurryCustomTabsSetting.Builder |
setCloseButtonIcon(android.graphics.Bitmap icon)
Sets the Close button icon for the custom tab.
|
FlurryCustomTabsSetting.Builder |
setExitAnimations(int enterResId,
int exitResId)
Sets the exit animations.
|
FlurryCustomTabsSetting.Builder |
setShowTitle(boolean showTitle)
Sets whether the title should be shown in the custom tab.
|
FlurryCustomTabsSetting.Builder |
setStartAnimations(int enterResId,
int exitResId)
Sets the start animations.
|
FlurryCustomTabsSetting.Builder |
setToolbarColor(int color)
Sets the toolbar color.
|
public FlurryCustomTabsSetting.Builder setToolbarColor(int color)
color
- Color
public FlurryCustomTabsSetting.Builder setShowTitle(boolean showTitle)
showTitle
- Whether the title should be shown.public FlurryCustomTabsSetting.Builder enableUrlBarHiding()
public FlurryCustomTabsSetting.Builder setCloseButtonIcon(android.graphics.Bitmap icon)
icon
- The icon Bitmap
public FlurryCustomTabsSetting.Builder setStartAnimations(int enterResId, int exitResId)
enterResId
- Resource ID of the "enter" animation for the browser.exitResId
- Resource ID of the "exit" animation for the application.public FlurryCustomTabsSetting.Builder setExitAnimations(int enterResId, int exitResId)
enterResId
- Resource ID of the "enter" animation for the application.exitResId
- Resource ID of the "exit" animation for the browser.public FlurryCustomTabsSetting build()
FlurryCustomTabsSetting
object.Copyright © 2009-2019, Flurry, Inc. All Rights Reserved. Flurry Publisher Support Site.