Class Download
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class Download : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
Download
- Implements
- Inherited Members
Constructors
Download(bool, params ConstructArgument[])
protected Download(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
Download(IntPtr, bool)
protected Download(IntPtr ptr, bool ownedRef)
Parameters
Fields
AllowOverwritePropertyDefinition
public static readonly Property<bool, Download> AllowOverwritePropertyDefinition
Field Value
CreatedDestinationSignal
Signal Descriptor for OnCreatedDestination.
public static readonly Signal<Download, Download.CreatedDestinationSignalArgs> CreatedDestinationSignal
Field Value
DecideDestinationSignal
Signal Descriptor for OnDecideDestination.
public static readonly ReturningSignal<Download, Download.DecideDestinationSignalArgs, bool> DecideDestinationSignal
Field Value
DestinationPropertyDefinition
public static readonly Property<string?, Download> DestinationPropertyDefinition
Field Value
EstimatedProgressPropertyDefinition
public static readonly Property<double, Download> EstimatedProgressPropertyDefinition
Field Value
FailedSignal
Signal Descriptor for OnFailed.
public static readonly Signal<Download, Download.FailedSignalArgs> FailedSignal
Field Value
FinishedSignal
Signal Descriptor for OnFinished.
public static readonly Signal<Download> FinishedSignal
Field Value
ReceivedDataSignal
Signal Descriptor for OnReceivedData.
public static readonly Signal<Download, Download.ReceivedDataSignalArgs> ReceivedDataSignal
Field Value
ResponsePropertyDefinition
public static readonly Property<URIResponse?, Download> ResponsePropertyDefinition
Field Value
Properties
AllowOverwrite
public bool AllowOverwrite { get; set; }
Property Value
Destination
public string? Destination { get; }
Property Value
EstimatedProgress
public double EstimatedProgress { get; }
Property Value
Response
public URIResponse? Response { get; }
Property Value
Methods
Cancel()
public void Cancel()
GetAllowOverwrite()
[Version("2.6")]
public bool GetAllowOverwrite()
Returns
GetDestination()
public string? GetDestination()
Returns
GetElapsedTime()
public double GetElapsedTime()
Returns
GetEstimatedProgress()
public double GetEstimatedProgress()
Returns
GetGType()
public static Type GetGType()
Returns
GetReceivedDataLength()
public ulong GetReceivedDataLength()
Returns
GetRequest()
public URIRequest GetRequest()
Returns
GetResponse()
public URIResponse GetResponse()
Returns
GetWebView()
public WebView GetWebView()
Returns
SetAllowOverwrite(bool)
[Version("2.6")]
public void SetAllowOverwrite(bool allowed)
Parameters
allowed
bool
SetDestination(string)
public void SetDestination(string destination)
Parameters
destination
string
Events
OnCreatedDestination
public event SignalHandler<Download, Download.CreatedDestinationSignalArgs> OnCreatedDestination
Event Type
OnDecideDestination
public event ReturningSignalHandler<Download, Download.DecideDestinationSignalArgs, bool> OnDecideDestination
Event Type
OnFailed
public event SignalHandler<Download, Download.FailedSignalArgs> OnFailed
Event Type
OnFinished
public event SignalHandler<Download> OnFinished
Event Type
OnReceivedData
public event SignalHandler<Download, Download.ReceivedDataSignalArgs> OnReceivedData