Udostępnij za pośrednictwem


WebViewPermissionRequest.State Property

Definition

Gets the current state of the permission request.

public:
 property WebViewPermissionState State { WebViewPermissionState get(); };
WebViewPermissionState State();
public WebViewPermissionState State { get; }
var webViewPermissionState = webViewPermissionRequest.state;
Public ReadOnly Property State As WebViewPermissionState

Property Value

An enumeration value that indicates the current state of the permission request. The default is Unknown.

Remarks

The default State value is Unknown. Calling the Allow, Deny, or Defer method sets the State property to the corresponding WebViewPermissionState.

Applies to