Method

OmniActiveSourcestart

Declaration

void
omni_active_source_start (
  OmniActiveSource* self,
  GCancellable* cancellable
)

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:

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: GCancellable

No description available.

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