Task.getState

Get the current state of the task.

Returns

The #GstTaskState of the task

MT safe.