Class Notification


  • @ConfigSerializer(net.runelite.client.config.NotificationSerializer.class)
    public class Notification
    extends Object
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • isInitialized

        public boolean isInitialized()
      • isOverride

        public boolean isOverride()
      • isTray

        public boolean isTray()
      • getVolume

        public int getVolume()
      • getTimeout

        public int getTimeout()
      • isGameMessage

        public boolean isGameMessage()
      • getFlashColor

        public Color getFlashColor()
      • isSendWhenFocused

        public boolean isSendWhenFocused()
      • withEnabled

        public Notification withEnabled​(boolean enabled)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withInitialized

        public Notification withInitialized​(boolean initialized)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withOverride

        public Notification withOverride​(boolean override)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTray

        public Notification withTray​(boolean tray)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTrayIconType

        public Notification withTrayIconType​(TrayIcon.MessageType trayIconType)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withRequestFocus

        public Notification withRequestFocus​(RequestFocusType requestFocus)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withSound

        public Notification withSound​(Notifier.NativeCustomOff sound)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withVolume

        public Notification withVolume​(int volume)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTimeout

        public Notification withTimeout​(int timeout)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withGameMessage

        public Notification withGameMessage​(boolean gameMessage)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withFlash

        public Notification withFlash​(FlashNotification flash)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withFlashColor

        public Notification withFlashColor​(Color flashColor)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withSendWhenFocused

        public Notification withSendWhenFocused​(boolean sendWhenFocused)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).