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

26 lines
709 B
C#

namespace Cef3
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Cef3.Interop;
/// <summary>
/// Callback interface used for asynchronous continuation of geolocation
/// permission requests.
/// </summary>
public sealed unsafe partial class CefGeolocationCallback
{
/// <summary>
/// Call to allow or deny geolocation access.
/// </summary>
public void Continue(bool allow)
{
// FIXME: it is can be executed only once - so may be make it self-disposable ?
cef_geolocation_callback_t.cont(_self, allow ? 1 : 0);
}
}
}