### Interface

# Gcr ImportInteraction

#### Description [src]

    interface Gcr.ImportInteraction : Gio.TlsInteraction

This is an interface implemented by a caller performing an import. It allows the importer to ask the caller for further information about the import.

It must be implemented on a derived class of `GTlsInteraction`.

#### Prerequisite

In order to implement ImportInteraction, your type must inherit from`GTlsInteraction`.

#### Instance methods

###### gcr_import_interaction_supplement

Supplement attributes before import. This means prompting the user for things like labels and the like. The needed attributes will have been passed to gcr_import_interaction_supplement_prep().

###### gcr_import_interaction_supplement_async

Asynchronously supplement attributes before import. This means prompting the user for things like labels and the like. The needed attributes will have been passed to gcr_import_interaction_supplement_prep().

###### gcr_import_interaction_supplement_finish

Complete operation to asynchronously supplement attributes before import.

###### gcr_import_interaction_supplement_prep

Prepare for supplementing the given attributes before import. This means prompting the user for things like labels and the like. The attributes will contain attributes for values that the importer needs, either empty or prefilled with suggested values.

#### Interface structure

    struct GcrImportInteractionInterface {
      GTypeInterface parent;
      void (* supplement_prep) (
        GcrImportInteraction* interaction,
        GckBuilder* builder
      );
      GTlsInteractionResult (* supplement) (
        GcrImportInteraction* interaction,
        GckBuilder* builder,
        GCancellable* cancellable,
        GError** error
      );
      void (* supplement_async) (
        GcrImportInteraction* interaction,
        GckBuilder* builder,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      );
      GTlsInteractionResult (* supplement_finish) (
        GcrImportInteraction* interaction,
        GAsyncResult* result,
        GError** error
      );

    }

Interface implemented by implementations of `GcrImportInteraction`.

###### Interface members

`parent` |
    GTypeInterface
| Parent interface.
`supplement_prep` |
    void (* supplement_prep) (
        GcrImportInteraction* interaction,
        GckBuilder* builder
      )
| Method which prepares for supplementing the given attributes before import.
`supplement` |
    GTlsInteractionResult (* supplement) (
        GcrImportInteraction* interaction,
        GckBuilder* builder,
        GCancellable* cancellable,
        GError** error
      )
| Method which synchronously supplements attributes before import.
`supplement_async` |
    void (* supplement_async) (
        GcrImportInteraction* interaction,
        GckBuilder* builder,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      )
| Method which asynchronously supplements attributes before import.
`supplement_finish` |
    GTlsInteractionResult (* supplement_finish) (
        GcrImportInteraction* interaction,
        GAsyncResult* result,
        GError** error
      )
| Method which completes `supplement_async`.

#### Virtual methods

###### Gcr.ImportInteraction.supplement

Supplement attributes before import. This means prompting the user for things like labels and the like. The needed attributes will have been passed to gcr_import_interaction_supplement_prep().

###### Gcr.ImportInteraction.supplement_async

Asynchronously supplement attributes before import. This means prompting the user for things like labels and the like. The needed attributes will have been passed to gcr_import_interaction_supplement_prep().

###### Gcr.ImportInteraction.supplement_finish

Complete operation to asynchronously supplement attributes before import.

###### Gcr.ImportInteraction.supplement_prep

Prepare for supplementing the given attributes before import. This means prompting the user for things like labels and the like. The attributes will contain attributes for values that the importer needs, either empty or prefilled with suggested values.