Virtual Method
OmniSourcePlanactivate_async
Declaration
void
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:
OmniSourceActivateContextNo description available.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableNo description available.
The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackNo description available.
user_data-
Type:
void*No description available.
The argument can be NULL.The data is owned by the caller of the method.