Gio.DtlsConnection.set_interaction

### Method

# Gio DtlsConnectionset_interaction

since: 2.48

#### Declaration [src]

    void
    g_dtls_connection_set_interaction (
      GDtlsConnection* conn,
      GTlsInteraction* interaction
    )

#### Description [src]

Set the object that will be used to interact with the user. It will be used for things like prompting the user for passwords.

The `interaction` argument will normally be a derived subclass of `GTlsInteraction`. `NULL` can also be provided if no user interaction should occur for this connection.

Available since: 2.48

Sets property | `Gio.DtlsConnection:interaction`

#### Parameters

`interaction`

  Type: `GTlsInteraction`

  An interaction object, or `NULL`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.