Table of Contents

Class Task

Namespace
Gst.Internal
Assembly
Gst-1.0.dll
public class Task
Inheritance
Task
Inherited Members

Methods

CleanupAll()

Calls native function gst_task_cleanup_all.

public static extern void CleanupAll()

GetGType()

Calls native function gst_task_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetPool(IntPtr)

Calls native method gst_task_get_pool.

public static extern IntPtr GetPool(IntPtr task)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

GetState(IntPtr)

Calls native method gst_task_get_state.

public static extern TaskState GetState(IntPtr task)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

Returns

TaskState

Transfer ownership: None Nullable: False

Join(IntPtr)

Calls native method gst_task_join.

public static extern bool Join(IntPtr task)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New(TaskFunction, IntPtr, DestroyNotify)

Calls native constructor gst_task_new.

public static extern IntPtr New(TaskFunction func, IntPtr userData, DestroyNotify notify)

Parameters

func TaskFunction

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

notify DestroyNotify

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

Pause(IntPtr)

Calls native method gst_task_pause.

public static extern bool Pause(IntPtr task)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Resume(IntPtr)

Calls native method gst_task_resume. Version: 1.18

[Version("1.18")]
public static extern bool Resume(IntPtr task)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetEnterCallback(IntPtr, TaskThreadFunc, IntPtr, DestroyNotify)

Calls native method gst_task_set_enter_callback.

public static extern void SetEnterCallback(IntPtr task, TaskThreadFunc enterFunc, IntPtr userData, DestroyNotify notify)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

enterFunc TaskThreadFunc

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

notify DestroyNotify

Transfer ownership: None Nullable: False

SetLeaveCallback(IntPtr, TaskThreadFunc, IntPtr, DestroyNotify)

Calls native method gst_task_set_leave_callback.

public static extern void SetLeaveCallback(IntPtr task, TaskThreadFunc leaveFunc, IntPtr userData, DestroyNotify notify)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

leaveFunc TaskThreadFunc

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

notify DestroyNotify

Transfer ownership: None Nullable: False

SetLock(IntPtr, RecMutexHandle)

Calls native method gst_task_set_lock.

public static extern void SetLock(IntPtr task, RecMutexHandle mutex)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

mutex RecMutexHandle

Transfer ownership: None Nullable: False

SetPool(IntPtr, IntPtr)

Calls native method gst_task_set_pool.

public static extern void SetPool(IntPtr task, IntPtr pool)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

pool IntPtr

Transfer ownership: None Nullable: False

SetState(IntPtr, TaskState)

Calls native method gst_task_set_state.

public static extern bool SetState(IntPtr task, TaskState state)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

state TaskState

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Start(IntPtr)

Calls native method gst_task_start.

public static extern bool Start(IntPtr task)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Stop(IntPtr)

Calls native method gst_task_stop.

public static extern bool Stop(IntPtr task)

Parameters

task IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False