Virtual Method
OmniActiveSourcestart
Description
Start data collection.
This operation can be done only once, whether successful or not, for each instance of this object.
The input source must attempt to start collection and call one of the following methods:
-
omni_source_activate_context_started()if successful -
omni_source_activate_context_finish()with non-null error if unsuccessful.
Calling the above methods synchronously from start is allowed.
After calling omni_source_activate_context_started(), this method
may immediately and synchronously call
omni_source_activate_context_finish() with null error if there is no
data to produce.
Parameters
cancellable-
Type:
GCancellableNo description available.
The argument can be NULL.The data is owned by the caller of the method.