Interface

OmniActiveSource

Description

interface Omni.ActiveSource : GObject.Object

An active input source.

Prerequisite

In order to implement ActiveSource, your type must inherit fromGObject.

Instance methods

omni_active_source_start

Start data collection.

omni_active_source_stop

Stop data collection previously started by calling start, and then deactivate the input source.

omni_active_source_cancel

Deactivate the input source.

Interface structure

struct OmniActiveSourceIface {
  void (* start) (
    OmniActiveSource* self,
    GCancellable* cancellable
  );
  void (* stop) (
    OmniActiveSource* self
  );
  void (* cancel) (
    OmniActiveSource* self
  );
  
}

No description available.

Interface members
start
void (* start) (
    OmniActiveSource* self,
    GCancellable* cancellable
  )
 

No description available.

stop
void (* stop) (
    OmniActiveSource* self
  )
 

No description available.

cancel
void (* cancel) (
    OmniActiveSource* self
  )
 

No description available.

Virtual methods

Omni.ActiveSource.start

Start data collection.

Omni.ActiveSource.stop

Stop data collection previously started by calling start, and then deactivate the input source.

Omni.ActiveSource.cancel

Deactivate the input source.