Interface ResolverClass.OnLookupRecords

Enclosing class:
ResolverClass
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ResolverClass.OnLookupRecords
  • Method Details

    • onLookupRecords

      List onLookupRecords(CallbackHandler __self, @Nonnull Resolver resolver, @Nonnull Str rrname, int record_type, @Nullable Cancellable cancellable)
      Parameters:
      resolver - a #GResolver
      rrname - the DNS name to look up the record for
      record_type - the type of DNS record to look up
      cancellable - a #GCancellable, or %NULL
      Returns:
      a non-empty #GList of #GVariant, or %NULL on error. You must free each of the records and the list when you are done with it. (You can use g_list_free_full() with g_variant_unref() to do this.)