Method

OmniSourcePlanactivate_async

Declaration

void
omni_source_plan_activate_async (
  OmniSourcePlan* self,
  OmniSourceActivateContext* context,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  void* user_data
)

Description

Activate the input source to collect data into input stream sinks.

This may involve acquisition of required hardware resources and external state modification. The caller, after calling this method, will soon call Omni.ActiveSource.startor Omni.ActiveSource.cancel.

context remains valid at least until the input source is deactivated.

Parameters

context

Type: OmniSourceActivateContext

No description available.

The data is owned by the caller of the method.
cancellable

Type: GCancellable

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

No description available.

The argument can be NULL.
user_data

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.