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