Table of Contents

Class VulkanContinuousCaptureSession.Proxy

Java proxy to handle native callbacks.

public sealed class VulkanContinuousCaptureSession.Proxy : CaptureSessionBase<VulkanContinuousCaptureSession.Proxy>.ProxyBase
Inheritance
object
VulkanContinuousCaptureSession.Proxy
Inherited Members
Extension Methods

Remarks

All event callbacks will be on a Java thread, and are performance sensitive.

Constructors

Proxy()

public Proxy()

Methods

Invoke(string, nint)

public override nint Invoke(string methodName, nint javaArgs)

Parameters

methodName string
javaArgs nint

Returns

nint

Events

OnFrameReady

Signals the Vulkan plugin that a frame is ready for conversion.

public event VulkanContinuousCaptureSession.OnFrameReadyCallback? OnFrameReady

Event Type

VulkanContinuousCaptureSession.OnFrameReadyCallback

Remarks

AHardwareBuffer_acquire has already been called on acquiredBufferPtr, and this method must release it either through native plugin render events or releaseHardwareBuffer(nint).