Processing for Android

EN ES

Watch face mode

A watch face can be either in ambient (in which the sketch's drawing is shown permanently at one frame per second), or in interactive mode running at the framerate indicated with frameRate(). Use these functions to determine the current mode:


void setup() {
}      

void draw() {
  if (wearInteractive()) {
    // draw full watch face
  }  
}

void setup() {
}      

void draw() {
  if (wearAmbient()) {
    // draw ambient mode watch face
  }  
}