Files
lserp_cs_5.0/插件库/CommonLib/Cef3.24/Classes.Proxies/CefDownloadItemCallback.cs
T
2026-07-10 15:25:05 +08:00

39 lines
925 B
C#

namespace Cef3
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Cef3.Interop;
/// <summary>
/// Callback interface used to asynchronously cancel a download.
/// </summary>
public sealed unsafe partial class CefDownloadItemCallback
{
/// <summary>
/// Call to cancel the download.
/// </summary>
public void Cancel()
{
cef_download_item_callback_t.cancel(_self);
}
/// <summary>
/// Call to pause the download.
/// </summary>
public void Pause()
{
cef_download_item_callback_t.pause(_self);
}
/// <summary>
/// Call to resume the download.
/// </summary>
public void Resume()
{
cef_download_item_callback_t.resume(_self);
}
}
}