Interface DBusObjectManagerClient.OnDBusProxyTypeFunc

Enclosing class:
DBusObjectManagerClient
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 DBusObjectManagerClient.OnDBusProxyTypeFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    onDBusProxyTypeFunc(CallbackHandler __self, DBusObjectManagerClient manager, Str object_path, Str interface_name, Pointer user_data)
    Function signature for a function used to determine the #GType to
    use for an interface proxy (if @interface_name is not %NULL) or
    object proxy (if @interface_name is %NULL).
  • Method Details

    • onDBusProxyTypeFunc

      long onDBusProxyTypeFunc(CallbackHandler __self, @Nonnull DBusObjectManagerClient manager, @Nonnull Str object_path, @Nullable Str interface_name, @Nullable Pointer user_data)
      Function signature for a function used to determine the #GType to
      use for an interface proxy (if @interface_name is not %NULL) or
      object proxy (if @interface_name is %NULL).

      This function is called in the
      [thread-default main loop][g-main-context-push-thread-default]
      that @manager was constructed in.
      Parameters:
      manager - A #GDBusObjectManagerClient.
      object_path - The object path of the remote object.
      interface_name - The interface name of the remote object or %NULL if a #GDBusObjectProxy #GType is requested.
      user_data - User data.
      Returns:
      A #GType to use for the remote object. The returned type must be a #GDBusProxy or #GDBusObjectProxy -derived type.