Interface CanvasHintHandle

All Superinterfaces:
AutoCloseable, Registration

public interface CanvasHintHandle extends Registration
Handle for a live native Cubism drawing-area hint.

The handle mirrors the native hint lifecycle. Closing it (or calling dismiss()) clears the hint immediately. renew() re-arms the hint's native timeout, which is how native code keeps a condition-driven message on screen: re-showing the same keyed hint refreshes its deadline instead of creating a second hint.

After Registration.close() the handle is spent; later renew() calls do nothing and Registration.close() stays idempotent.

  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Clears the hint now; equivalent to Registration.close().
    void
    Re-arms the native timeout so the hint stays visible for another full duration, keeping its message, key, click action, and position.

    Methods inherited from interface dev.turboism.sdk.plugin.Registration

    close
  • Method Details

    • renew

      void renew()
      Re-arms the native timeout so the hint stays visible for another full duration, keeping its message, key, click action, and position.

      Does nothing once the handle has been closed.

    • dismiss

      default void dismiss()
      Clears the hint now; equivalent to Registration.close().