Package | com.myflashlab.air.extensions.richWebView.android |
Class | public class EmbeddedBrowser |
Inheritance | EmbeddedBrowser flash.events.EventDispatcher |
RichWebView.android.embeddedBrowser
Property | Defined By | ||
---|---|---|---|
isSupported : Boolean [read-only]
Evaluates the current device for supporting CustomTabs and returns true if it supports it. | EmbeddedBrowser |
Method | Defined By | ||
---|---|---|---|
dispose():void
dispose the CustomTab object. | EmbeddedBrowser | ||
init($mayLaunchUrl:String):void
For using the CustomTab API in Android, you must first initialize it with this method and pass in the
probable first URL which it is supposed to open so it can warm-up! for faster loading the webpage. | EmbeddedBrowser | ||
open($url:String, $settings:EmbeddedBrowserSettings = null):Boolean
Opens the CustomTab window over the AIR content. | EmbeddedBrowser |
Constant | Defined By | ||
---|---|---|---|
CLOSED : int = 5 [static] | EmbeddedBrowser | ||
NAVIGATION_ABORTED : int = 4 [static] | EmbeddedBrowser | ||
NAVIGATION_FAILED : int = 3 [static] | EmbeddedBrowser | ||
NAVIGATION_FINISHED : int = 2 [static] | EmbeddedBrowser | ||
NAVIGATION_STARTED : int = 1 [static] | EmbeddedBrowser |
isSupported | property |
isSupported:Boolean
[read-only]
Evaluates the current device for supporting CustomTabs and returns true
if it supports it.
public function get isSupported():Boolean
dispose | () | method |
public function dispose():void
dispose the CustomTab object.
init | () | method |
public function init($mayLaunchUrl:String):void
For using the CustomTab API in Android, you must first initialize it with this method and pass in the probable first URL which it is supposed to open so it can warm-up! for faster loading the webpage.
Before initializing the CustomTab API, you should first call the isSupported
method to make sure
CustomTab is supported on the running device.
Parameters
$mayLaunchUrl:String |
open | () | method |
public function open($url:String, $settings:EmbeddedBrowserSettings = null):Boolean
Opens the CustomTab window over the AIR content.
Parameters
$url:String | |
$settings:EmbeddedBrowserSettings (default = null ) — if null , default values will be used.
|
Boolean — |
CLOSED | Constant |
public static const CLOSED:int = 5
NAVIGATION_ABORTED | Constant |
public static const NAVIGATION_ABORTED:int = 4
NAVIGATION_FAILED | Constant |
public static const NAVIGATION_FAILED:int = 3
NAVIGATION_FINISHED | Constant |
public static const NAVIGATION_FINISHED:int = 2
NAVIGATION_STARTED | Constant |
public static const NAVIGATION_STARTED:int = 1