Interface ClickCallback.Provider

  • Enclosing interface:
    ClickCallback<T extends Audience>

    @PlatformAPI
    @Internal
    public static interface ClickCallback.Provider
    A provider for actually producing click callbacks.
    Since:
    4.13.0
    • Method Detail

      • create

        @NotNull
        @NotNull ClickEvent create​(@NotNull
                                   @NotNull ClickCallback<Audience> callback,
                                   @NotNull
                                   @NotNull ClickCallback.Options options)
        Create a real click event based on the provided parameters.
        Parameters:
        callback - the callback to execute
        options - the options to apply to this callback
        Returns:
        a created click event that will execute the provided callback with options
        Since:
        4.13.0