Schnittstelle InterfaceInfo.OnInterfaceInitFunc

Umschließende Klasse:
InterfaceInfo
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface InterfaceInfo.OnInterfaceInitFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onInterfaceInitFunc(CallbackHandler __self, Pointer g_iface, Pointer iface_data)
    A callback function used by the type system to initialize a new
    interface.
  • Methodendetails

    • onInterfaceInitFunc

      void onInterfaceInitFunc(CallbackHandler __self, @Nonnull Pointer g_iface, @Nullable Pointer iface_data)
      A callback function used by the type system to initialize a new
      interface.

      This function should initialize all internal data and* allocate any
      resources required by the interface.

      The members of @iface_data are guaranteed to have been filled with
      zeros before this function is called.
      Parameter:
      g_iface - The interface structure to initialize
      iface_data - The @interface_data supplied via the #GInterfaceInfo structure