Table of Contents

Class Discoverer

Namespace
GstPbutils.Internal
Assembly
GstPbutils-1.0.dll
public class Discoverer
Inheritance
Discoverer
Inherited Members

Methods

DiscoverUri(IntPtr, NonNullableUtf8StringHandle, out ErrorOwnedHandle)

Calls native method gst_discoverer_discover_uri.

public static extern IntPtr DiscoverUri(IntPtr discoverer, NonNullableUtf8StringHandle uri, out ErrorOwnedHandle error)

Parameters

discoverer IntPtr

Transfer ownership: None Nullable: False

uri NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

DiscoverUriAsync(IntPtr, NonNullableUtf8StringHandle)

Calls native method gst_discoverer_discover_uri_async.

public static extern bool DiscoverUriAsync(IntPtr discoverer, NonNullableUtf8StringHandle uri)

Parameters

discoverer IntPtr

Transfer ownership: None Nullable: False

uri NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gst_discoverer_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(ClockTime, out ErrorOwnedHandle)

Calls native constructor gst_discoverer_new.

public static extern IntPtr New(ClockTime timeout, out ErrorOwnedHandle error)

Parameters

timeout ClockTime

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

Start(IntPtr)

Calls native method gst_discoverer_start.

public static extern void Start(IntPtr discoverer)

Parameters

discoverer IntPtr

Transfer ownership: None Nullable: False

Stop(IntPtr)

Calls native method gst_discoverer_stop.

public static extern void Stop(IntPtr discoverer)

Parameters

discoverer IntPtr

Transfer ownership: None Nullable: False