Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2DownloadOperation_Impl
source · pub trait ICoreWebView2DownloadOperation_Impl: Sized {
Show 19 methods
// Required methods
fn add_BytesReceivedChanged(
&self,
eventhandler: Option<&ICoreWebView2BytesReceivedChangedEventHandler>,
token: *mut EventRegistrationToken,
) -> Result<()>;
fn remove_BytesReceivedChanged(
&self,
token: &EventRegistrationToken,
) -> Result<()>;
fn add_EstimatedEndTimeChanged(
&self,
eventhandler: Option<&ICoreWebView2EstimatedEndTimeChangedEventHandler>,
token: *mut EventRegistrationToken,
) -> Result<()>;
fn remove_EstimatedEndTimeChanged(
&self,
token: &EventRegistrationToken,
) -> Result<()>;
fn add_StateChanged(
&self,
eventhandler: Option<&ICoreWebView2StateChangedEventHandler>,
token: *mut EventRegistrationToken,
) -> Result<()>;
fn remove_StateChanged(&self, token: &EventRegistrationToken) -> Result<()>;
fn Uri(&self, uri: *mut PWSTR) -> Result<()>;
fn ContentDisposition(&self, contentdisposition: *mut PWSTR) -> Result<()>;
fn MimeType(&self, mimetype: *mut PWSTR) -> Result<()>;
fn TotalBytesToReceive(&self, totalbytestoreceive: *mut i64) -> Result<()>;
fn BytesReceived(&self, bytesreceived: *mut i64) -> Result<()>;
fn EstimatedEndTime(&self, estimatedendtime: *mut PWSTR) -> Result<()>;
fn ResultFilePath(&self, resultfilepath: *mut PWSTR) -> Result<()>;
fn State(
&self,
downloadstate: *mut COREWEBVIEW2_DOWNLOAD_STATE,
) -> Result<()>;
fn InterruptReason(
&self,
interruptreason: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON,
) -> Result<()>;
fn Cancel(&self) -> Result<()>;
fn Pause(&self) -> Result<()>;
fn Resume(&self) -> Result<()>;
fn CanResume(&self, canresume: *mut BOOL) -> Result<()>;
}
Required Methods§
fn add_BytesReceivedChanged( &self, eventhandler: Option<&ICoreWebView2BytesReceivedChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
fn remove_BytesReceivedChanged( &self, token: &EventRegistrationToken, ) -> Result<()>
fn add_EstimatedEndTimeChanged( &self, eventhandler: Option<&ICoreWebView2EstimatedEndTimeChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
fn remove_EstimatedEndTimeChanged( &self, token: &EventRegistrationToken, ) -> Result<()>
fn add_StateChanged( &self, eventhandler: Option<&ICoreWebView2StateChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
fn remove_StateChanged(&self, token: &EventRegistrationToken) -> Result<()>
fn Uri(&self, uri: *mut PWSTR) -> Result<()>
fn ContentDisposition(&self, contentdisposition: *mut PWSTR) -> Result<()>
fn MimeType(&self, mimetype: *mut PWSTR) -> Result<()>
fn TotalBytesToReceive(&self, totalbytestoreceive: *mut i64) -> Result<()>
fn BytesReceived(&self, bytesreceived: *mut i64) -> Result<()>
fn EstimatedEndTime(&self, estimatedendtime: *mut PWSTR) -> Result<()>
fn ResultFilePath(&self, resultfilepath: *mut PWSTR) -> Result<()>
fn State(&self, downloadstate: *mut COREWEBVIEW2_DOWNLOAD_STATE) -> Result<()>
fn InterruptReason( &self, interruptreason: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON, ) -> Result<()>
fn Cancel(&self) -> Result<()>
fn Pause(&self) -> Result<()>
fn Resume(&self) -> Result<()>
fn CanResume(&self, canresume: *mut BOOL) -> Result<()>
Object Safety§
This trait is not object safe.