Interface

OmniSourceActivateContext

Description

interface Omni.SourceActivateContext : GObject.Object

The interface to provide contextual information for an active input source or an input source being about to be activated by omni_source_plan_activate_async().

Prerequisite

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

Instance methods

omni_source_activate_context_dup_stream_sink

Get the stream sink object for the input stream represented by the specified handle.

omni_source_activate_context_started

Signal to the system that the input source has successfully started data collection.

omni_source_activate_context_finish

Signal to the system that the input source has completed its job.

Properties

Omni.SourceActivateContext:record-clock

Get the object providing local recording-relative times.

Interface structure

struct OmniSourceActivateContextIface {
  OmniStreamSink* (* dup_stream_sink) (
    OmniSourceActivateContext* self,
    gint32 stream_handle
  );
  void (* started) (
    OmniSourceActivateContext* self
  );
  void (* finish) (
    OmniSourceActivateContext* self,
    GError* _error_
  );
  OmniRecordClock* (* get_record_clock) (
    OmniSourceActivateContext* self
  );
  
}

No description available.

Interface members
dup_stream_sink
OmniStreamSink* (* dup_stream_sink) (
    OmniSourceActivateContext* self,
    gint32 stream_handle
  )
 

No description available.

started
void (* started) (
    OmniSourceActivateContext* self
  )
 

No description available.

finish
void (* finish) (
    OmniSourceActivateContext* self,
    GError* _error_
  )
 

No description available.

get_record_clock
OmniRecordClock* (* get_record_clock) (
    OmniSourceActivateContext* self
  )
 

No description available.

Virtual methods

Omni.SourceActivateContext.dup_stream_sink

Get the stream sink object for the input stream represented by the specified handle.

Omni.SourceActivateContext.started

Signal to the system that the input source has successfully started data collection.

Omni.SourceActivateContext.finish

Signal to the system that the input source has completed its job.