// Copyright © 2022 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; namespace CefSharp { /// /// Callback interface used for asynchronous continuation of media access /// permission requests. /// public interface IMediaAccessCallback : IDisposable { /// /// Call to allow or deny media access. If this callback was initiated in /// response to a getUserMedia (indicated by /// DeviceAudioCapture and/or DeviceVideoCapture being set) then /// must match requestedPermissions param passed to /// /// /// Allowed Permissions void Continue(MediaAccessPermissionType allowedPermissions); /// /// Cancel the media access request. /// void Cancel(); } }