Class Task
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public class Task : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
Task
- Implements
- Inherited Members
Constructors
Task()
public Task()
Task(params ConstructArgument[])
protected Task(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Task(IntPtr, bool)
protected Task(IntPtr ptr, bool ownedRef)
Parameters
Methods
CleanupAll()
public static void CleanupAll()
GetGType()
public static Type GetGType()
Returns
GetPool()
public TaskPool GetPool()
Returns
GetState()
public TaskState GetState()
Returns
Join()
public bool Join()
Returns
New(TaskFunction)
public static Task New(TaskFunction func)
Parameters
func
TaskFunction
Returns
Pause()
public bool Pause()
Returns
Resume()
[Version("1.18")]
public bool Resume()
Returns
SetEnterCallback(TaskThreadFunc)
public void SetEnterCallback(TaskThreadFunc enterFunc)
Parameters
enterFunc
TaskThreadFunc
SetLeaveCallback(TaskThreadFunc)
public void SetLeaveCallback(TaskThreadFunc leaveFunc)
Parameters
leaveFunc
TaskThreadFunc
SetLock(RecMutex)
public void SetLock(RecMutex mutex)
Parameters
mutex
RecMutex
SetPool(TaskPool)
public void SetPool(TaskPool pool)
Parameters
pool
TaskPool
SetState(TaskState)
public bool SetState(TaskState state)
Parameters
state
TaskState
Returns
Start()
public bool Start()
Returns
Stop()
public bool Stop()