PolarDocs Client Area

AlertSettings Interface

Introduction#

The AlertSettings interface provides methods to manage alert settings for a user.

Methods#

enabled#

java
boolean enabled();

Description:

Determines if alerts are enabled for the user.

Returns:

true if alerts are enabled, false otherwise.

setEnabled#

java
void setEnabled(boolean enabled);

Description:

Sets whether alerts are enabled for the user.

Parameters:

  • enabled - Whether alerts should be enabled.