Packagecom.distriqt.extension.nativewebview
Classpublic class PermissionGrantType
InheritancePermissionGrantType Inheritance Object

Defines values for the mediaCapturePermissionGrantType option

See also

WebViewOptions.mediaCapturePermissionGrantType


Public Constants
 ConstantDefined By
  DENY : String = deny
[static] Deny
PermissionGrantType
  GRANT : String = grant
[static] Grant
PermissionGrantType
  GRANT_IF_SAME_HOST_ELSE_DENY : String = grantIfSameHostElseDeny
[static] If the security origin's host of the permission request equals the host of the WebView's current URL, the permission is granted if it has been granted before.
PermissionGrantType
  GRANT_IF_SAME_HOST_ELSE_PROMPT : String = grantIfSameHostElsePrompt
[static] If the security origin's host of the permission request equals the host of the WebView's current URL, the permission is granted if it has been granted before.
PermissionGrantType
  PROMPT : String = prompt
[static] Prompt for permission each time a view is created
PermissionGrantType
Constant Detail
DENYConstant
public static const DENY:String = deny

Deny

GRANTConstant 
public static const GRANT:String = grant

Grant

GRANT_IF_SAME_HOST_ELSE_DENYConstant 
public static const GRANT_IF_SAME_HOST_ELSE_DENY:String = grantIfSameHostElseDeny

If the security origin's host of the permission request equals the host of the WebView's current URL, the permission is granted if it has been granted before. Otherwise, it gets denied.

GRANT_IF_SAME_HOST_ELSE_PROMPTConstant 
public static const GRANT_IF_SAME_HOST_ELSE_PROMPT:String = grantIfSameHostElsePrompt

If the security origin's host of the permission request equals the host of the WebView's current URL, the permission is granted if it has been granted before. Otherwise, the user gets prompted.

PROMPTConstant 
public static const PROMPT:String = prompt

Prompt for permission each time a view is created