Interface

OmniSource

Description

interface Omni.Source : GObject.Object

Represents an input source.

This object provides properties to select and configure data collection mechanisms, such as the serial number of a hardware device to attach.

All properties must be of variant-compatible types. See Omni.Tool for the definition of variant-compatible types.

Any operations done through this class should not affect the state of external components until it’s explicitly activated by Omni.SourcePlan.activate.

Prerequisite

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

Instance methods

omni_source_take_snapshot_async

Create a snapshot containing the list of ports derived from the current set of input source properties.

omni_source_take_snapshot_finish
No description available.

Interface structure

struct OmniSourceIface {
  void (* take_snapshot_async) (
    OmniSource* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  );
  OmniSourceSnapshot* (* take_snapshot_finish) (
    OmniSource* self,
    GAsyncResult* _res_,
    GError** error
  );
  
}

No description available.

Interface members
take_snapshot_async
void (* take_snapshot_async) (
    OmniSource* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  )
 

No description available.

take_snapshot_finish
OmniSourceSnapshot* (* take_snapshot_finish) (
    OmniSource* self,
    GAsyncResult* _res_,
    GError** error
  )
 

No description available.

Virtual methods

Omni.Source.take_snapshot_async

Create a snapshot containing the list of ports derived from the current set of input source properties.

Omni.Source.take_snapshot_finish
No description available.