Table of Contents

Class FfiHandle

Namespace
LiveKit.Internal
public class FfiHandle : SafeHandle, IDisposable
Inheritance
FfiHandle
Implements
Inherited Members
Extension Methods

Properties

IsInvalid

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override bool IsInvalid { get; }

Property Value

bool

true if the handle value is invalid; otherwise, false.

Methods

FromOwnedHandle(FfiOwnedHandle)

public static FfiHandle FromOwnedHandle(FfiOwnedHandle handle)

Parameters

handle FfiOwnedHandle

Returns

FfiHandle

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

protected override bool ReleaseHandle()

Returns

bool

true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.