setInterval method

void setInterval(
  1. int seconds
)

Implementation

void setInterval(int seconds) {
  if (seconds < 0) return;
  _pingInterval = seconds;
}