Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2PermissionRequestedEventArgs_Impl
source · [−]pub trait ICoreWebView2PermissionRequestedEventArgs_Impl: Sized {
fn Uri(&self, uri: *mut PWSTR) -> Result<()>;
fn PermissionKind(
&self,
permissionkind: *mut COREWEBVIEW2_PERMISSION_KIND
) -> Result<()>;
fn IsUserInitiated(&self, isuserinitiated: *mut BOOL) -> Result<()>;
fn State(&self, state: *mut COREWEBVIEW2_PERMISSION_STATE) -> Result<()>;
fn SetState(&self, state: COREWEBVIEW2_PERMISSION_STATE) -> Result<()>;
fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>;
}
Required Methods
sourcefn PermissionKind(
fn PermissionKind(
&self,
permissionkind: *mut COREWEBVIEW2_PERMISSION_KIND
) -> Result<()>
source
fn SetState(&self, state: COREWEBVIEW2_PERMISSION_STATE) -> Result<()>
source