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