Polar Help

AlertSettings Interface

Introduction

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

Methods

enabled

boolean enabled();

Description:

Determines if alerts are enabled for the user.

Returns:

true if alerts are enabled, false otherwise.

setEnabled

void setEnabled(boolean enabled);

Description:

Sets whether alerts are enabled for the user.

Parameters:

  • enabled - Whether alerts should be enabled.