Trait webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2PermissionRequestedEventArgs_Impl
source · pub trait ICoreWebView2PermissionRequestedEventArgs_Impl: Sized {
// Required methods
fn Uri(&self, uri: *mut PWSTR) -> Result<(), Error>;
fn PermissionKind(
&self,
permissionkind: *mut COREWEBVIEW2_PERMISSION_KIND,
) -> Result<(), Error>;
fn IsUserInitiated(&self, isuserinitiated: *mut BOOL) -> Result<(), Error>;
fn State(
&self,
state: *mut COREWEBVIEW2_PERMISSION_STATE,
) -> Result<(), Error>;
fn SetState(
&self,
state: COREWEBVIEW2_PERMISSION_STATE,
) -> Result<(), Error>;
fn GetDeferral(&self) -> Result<ICoreWebView2Deferral, Error>;
}
Required Methods§
fn Uri(&self, uri: *mut PWSTR) -> Result<(), Error>
fn PermissionKind( &self, permissionkind: *mut COREWEBVIEW2_PERMISSION_KIND, ) -> Result<(), Error>
fn IsUserInitiated(&self, isuserinitiated: *mut BOOL) -> Result<(), Error>
fn State(&self, state: *mut COREWEBVIEW2_PERMISSION_STATE) -> Result<(), Error>
fn SetState(&self, state: COREWEBVIEW2_PERMISSION_STATE) -> Result<(), Error>
fn GetDeferral(&self) -> Result<ICoreWebView2Deferral, Error>
Object Safety§
This trait is not object safe.