pub trait ICoreWebView2DownloadOperation_Impl: Sized {
Show 19 methods
// Required 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>;
}