Package | com.myflashlab.air.extensions.webView |
Class | public class RichWebViewSettings |
Inheritance | RichWebViewSettings Object |
Deprecated! use com.myflashlab.air.extensions.richWebView.RichWebView
instead.
Property | Defined By | ||
---|---|---|---|
BG_COLOR_HEX : String = #FFFFFFFF [static]
Set a background color for your webview content in hex #AARRGGBB format. | RichWebViewSettings | ||
EMBEDDED_BROWSER : EmbeddedBrowserSettings [static]
| RichWebViewSettings | ||
ENABLE_AIR_PREFIX : Boolean = true [static]
(Android ONLY) Set this property to false if you have forced your AIR app to drop the "air." prefix from your Android package name
Default value is set to true. | RichWebViewSettings | ||
ENABLE_BITMAP_CAPTURE : Boolean = false [static]
You must set this property to true if you want to take screenshot from your web content. | RichWebViewSettings | ||
ENABLE_COOKIES : Boolean = true [static]
Set to false to disable cookies in your webpages content. | RichWebViewSettings | ||
ENABLE_GPS : Boolean = false [static]
Set this property to true so you will be able to use JS GPS APIs in your web content. | RichWebViewSettings | ||
ENABLE_SCROLL_BOUNCE : Boolean = true [static]
Set this property to false if you don't wish the webview to bounce your content at the top or bottom of the scroll content. | RichWebViewSettings | ||
ENABLE_THIRD_PARTY_COOKIES : Boolean = false [static]
Set to true to enable third party cookies in your webpages content. | RichWebViewSettings | ||
ENABLE_ZOOM : Boolean = false [static]
Set this property to true if you wish your web content be zoomed in/out with pinch finger patterns. | RichWebViewSettings | ||
MEDIA_PLAYBACK_REQUIRES_USER_GESTURE : Boolean = true [static] | RichWebViewSettings | ||
USER_AGENT : String [static]
Set browser UserAgent for webview or leave it empty for the default agent. | RichWebViewSettings |
BG_COLOR_HEX | property |
public static var BG_COLOR_HEX:String = #FFFFFFFF
Set a background color for your webview content in hex #AARRGGBB format. The first two digits will represent the alpha channel of your webview background color.
Default value is set to #FFFFFFFF
EMBEDDED_BROWSER | property |
public static var EMBEDDED_BROWSER:EmbeddedBrowserSettings
ENABLE_AIR_PREFIX | property |
public static var ENABLE_AIR_PREFIX:Boolean = true
(Android ONLY) Set this property to false if you have forced your AIR app to drop the "air." prefix from your Android package name
Default value is set to true
. Notice that all AIR applications will have the "air." prefix added to their
package name on Android automatically. If you are manually removing the "air." prefix, you need to set this property
to false. otherwise leave it as it is.
ENABLE_BITMAP_CAPTURE | property |
public static var ENABLE_BITMAP_CAPTURE:Boolean = false
You must set this property to true
if you want to take screenshot from your web content. If you don't need
to take screenshots, set it to false
for better performance.
Default value is set to false
ENABLE_COOKIES | property |
public static var ENABLE_COOKIES:Boolean = true
Set to false
to disable cookies in your webpages content.
Default value is set to true
ENABLE_GPS | property |
public static var ENABLE_GPS:Boolean = false
Set this property to true
so you will be able to use JS GPS APIs in your web content.
Default value is set to false
ENABLE_SCROLL_BOUNCE | property |
public static var ENABLE_SCROLL_BOUNCE:Boolean = true
Set this property to false if you don't wish the webview to bounce your content at the top or bottom of the scroll content.
Default value is set to true
ENABLE_THIRD_PARTY_COOKIES | property |
public static var ENABLE_THIRD_PARTY_COOKIES:Boolean = false
Set to true
to enable third party cookies in your webpages content.
Default value is set to false
ENABLE_ZOOM | property |
public static var ENABLE_ZOOM:Boolean = false
Set this property to true
if you wish your web content be zoomed in/out with pinch finger patterns.
Default value is set to false
MEDIA_PLAYBACK_REQUIRES_USER_GESTURE | property |
public static var MEDIA_PLAYBACK_REQUIRES_USER_GESTURE:Boolean = true
USER_AGENT | property |
public static var USER_AGENT:String
Set browser UserAgent for webview or leave it empty for the default agent.
Default value is set to ""
(an empty string, which will use the default native user agent value provided by your device)