Table of Contents

Class AppSrcPrivateOwnedHandle

Namespace
GstApp.Internal
Assembly
GstApp-1.0.dll
public class AppSrcPrivateOwnedHandle : AppSrcPrivateHandle, IDisposable
Inheritance
AppSrcPrivateOwnedHandle
Implements
Inherited Members

Constructors

AppSrcPrivateOwnedHandle(nint)

Creates a new instance of AppSrcPrivateOwnedHandle. Assumes that the given pointer is owned by the runtime.

public AppSrcPrivateOwnedHandle(nint ptr)

Parameters

ptr nint

Methods

FromUnowned(nint)

Create a AppSrcPrivateOwnedHandle from a pointer that is assumed unowned.

public static AppSrcPrivateOwnedHandle FromUnowned(nint ptr)

Parameters

ptr nint

A pointer to a AppSrcPrivate which is not owned by the runtime.

Returns

AppSrcPrivateOwnedHandle

A AppSrcPrivateOwnedHandle

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.