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.
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 |
|
No description available. |
|
started |
|
No description available. |
|
finish |
|
No description available. |
|
get_record_clock |
|
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.