Packagecom.myflashlab.air.extensions.richWebView.android
Classpublic class EmbeddedBrowserSettings
InheritanceEmbeddedBrowserSettings Inheritance Object

Optional configuration for the CustomTab window.



Public Properties
 PropertyDefined By
  closeBtnIcon : String
[write-only]
EmbeddedBrowserSettings
  defaultShareMenuItem : Boolean
[write-only] Adds a default share item to the menu.
EmbeddedBrowserSettings
  enableUrlBarHiding : Boolean
[write-only] Enables the url bar to hide as the user scrolls down on the page.
EmbeddedBrowserSettings
  isWeakActivity : Boolean
[write-only] If set to true, the embedded browser will close automatically if you hit the home button or if you bring another activity/app over your app.
EmbeddedBrowserSettings
  secondaryToolbarColor : String
[write-only]
EmbeddedBrowserSettings
  showTitle : Boolean
[write-only] Sets whether the title should be shown in the custom tab.
EmbeddedBrowserSettings
  toolbarColor : String
[write-only]
EmbeddedBrowserSettings
Public Methods
 MethodDefined By
  
constructor to create a new instance of this class.
EmbeddedBrowserSettings
  
actionButton($actionBtnIcon:String, $actionBtnDescription:String):void
Sets the action button that is displayed in the Toolbar
EmbeddedBrowserSettings
  
addMenuItem($label:String):void
EmbeddedBrowserSettings
Property Detail
closeBtnIconproperty
closeBtnIcon:String  [write-only]


Implementation
    public function set closeBtnIcon(value:String):void
defaultShareMenuItemproperty 
defaultShareMenuItem:Boolean  [write-only]

Adds a default share item to the menu.


Implementation
    public function set defaultShareMenuItem(value:Boolean):void
enableUrlBarHidingproperty 
enableUrlBarHiding:Boolean  [write-only]

Enables the url bar to hide as the user scrolls down on the page.


Implementation
    public function set enableUrlBarHiding(value:Boolean):void
isWeakActivityproperty 
isWeakActivity:Boolean  [write-only]

If set to true, the embedded browser will close automatically if you hit the home button or if you bring another activity/app over your app.

By default, this is set to false


Implementation
    public function set isWeakActivity(value:Boolean):void
secondaryToolbarColorproperty 
secondaryToolbarColor:String  [write-only]


Implementation
    public function set secondaryToolbarColor(value:String):void
showTitleproperty 
showTitle:Boolean  [write-only]

Sets whether the title should be shown in the custom tab.


Implementation
    public function set showTitle(value:Boolean):void
toolbarColorproperty 
toolbarColor:String  [write-only]


Implementation
    public function set toolbarColor(value:String):void
Constructor Detail
EmbeddedBrowserSettings()Constructor
public function EmbeddedBrowserSettings()

constructor to create a new instance of this class.

Method Detail
actionButton()method
public function actionButton($actionBtnIcon:String, $actionBtnDescription:String):void

Sets the action button that is displayed in the Toolbar

Parameters

$actionBtnIcon:String
 
$actionBtnDescription:String

addMenuItem()method 
public function addMenuItem($label:String):void

Parameters

$label:String