1 package org.iotivity.base.examples.fridgeclient;
\r
3 import org.iotivity.base.OcPlatform;
\r
6 * StringConstant contains the fridgeclient specific constant values. To add another supported
\r
7 * Resource or Interface type to this app, begin by adding the new strings here, and then
\r
8 * find the places throughout the app where Resource-specific case switches occur, and add
\r
9 * the newly-supported type there.
\r
11 public interface StringConstants {
\r
12 public static final String RESOURCE_URI = "/device";
\r
13 public static final String DEVICE_NAME = "device_name";
\r
14 public static final String LIGHT = "/light";
\r
15 public static final String LEFT_DOOR = "/door/left";
\r
16 public static final String RIGHT_DOOR = "/door/right";
\r
17 public static final String RANDOM_DOOR = "/door/random";
\r
18 public static final String MESSAGE = "message";
\r
19 public static final String API_VERSION = "v.1.2";
\r
20 public static final String CLIENT_TOKEN = "AaBbYyZz";
\r
21 public static final String ON = "on";
\r
22 public static final String OPEN = "open";
\r
23 public static final String SIDE = "side";
\r
24 public static final String INTENT = "org.iotivity.base.examples.fridgeclient";
\r
25 public static final String RESOURCE_INTERFACE = OcPlatform.DEFAULT_INTERFACE;
\r
27 public static final int WAIT_TIME = 1000;
\r
28 public static final int API_VERSION_KEY = 2048;
\r
29 public static final int CLIENT_VERSION_KEY = 3000;
\r
31 public static final boolean ENABLE_PRINTING = true; // change to false to disable printing
\r
32 // of messages on the console and the screen
\r