Class Task
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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
TaskFunctionTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
enterFunc
TaskThreadFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer 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
IntPtrTransfer ownership: None Nullable: False
leaveFunc
TaskThreadFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer 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
IntPtrTransfer ownership: None Nullable: False
mutex
RecMutexHandleTransfer 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
IntPtrTransfer ownership: None Nullable: False
pool
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
state
TaskStateTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False