X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=android%2Fexamples%2Ffridgeclient%2Fsrc%2Fmain%2Fjava%2Forg%2Fiotivity%2Fbase%2Fexamples%2Ffridgeclient%2FStringConstants.java;h=4c2f197fbf50df83aa01ea61a73e56fccb489498;hb=8c01dff2c5bc5496f7dc1632c498943ec6ecb015;hp=da88e4d38cdf443f6a4d127530808cfc9a537c5b;hpb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;p=platform%2Fupstream%2Fiotivity.git diff --git a/android/examples/fridgeclient/src/main/java/org/iotivity/base/examples/fridgeclient/StringConstants.java b/android/examples/fridgeclient/src/main/java/org/iotivity/base/examples/fridgeclient/StringConstants.java index da88e4d..4c2f197 100644 --- a/android/examples/fridgeclient/src/main/java/org/iotivity/base/examples/fridgeclient/StringConstants.java +++ b/android/examples/fridgeclient/src/main/java/org/iotivity/base/examples/fridgeclient/StringConstants.java @@ -1,33 +1,33 @@ -package org.iotivity.base.examples.fridgeclient; - -import org.iotivity.base.OcPlatform; - -/** - * StringConstant contains the fridgeclient specific constant values. To add another supported - * Resource or Interface type to this app, begin by adding the new strings here, and then - * find the places throughout the app where Resource-specific case switches occur, and add - * the newly-supported type there. - */ -public interface StringConstants { - public static final String RESOURCE_URI = "/device"; - public static final String DEVICE_NAME = "device_name"; - public static final String LIGHT = "/light"; - public static final String LEFT_DOOR = "/door/left"; - public static final String RIGHT_DOOR = "/door/right"; - public static final String RANDOM_DOOR = "/door/random"; - public static final String MESSAGE = "message"; - public static final String API_VERSION = "v.1.2"; - public static final String CLIENT_TOKEN = "AaBbYyZz"; - public static final String ON = "on"; - public static final String OPEN = "open"; - public static final String SIDE = "side"; - public static final String INTENT = "org.iotivity.base.examples.fridgeclient"; - public static final String RESOURCE_INTERFACE = OcPlatform.DEFAULT_INTERFACE; - - public static final int WAIT_TIME = 1000; - public static final int API_VERSION_KEY = 2048; - public static final int CLIENT_VERSION_KEY = 3000; - - public static final boolean ENABLE_PRINTING = true; // change to false to disable printing - // of messages on the console and the screen -} +package org.iotivity.base.examples.fridgeclient; + +import org.iotivity.base.OcPlatform; + +/** + * StringConstant contains the fridgeclient specific constant values. To add another supported + * Resource or Interface type to this app, begin by adding the new strings here, and then + * find the places throughout the app where Resource-specific case switches occur, and add + * the newly-supported type there. + */ +public interface StringConstants { + public static final String RESOURCE_URI = "/device"; + public static final String DEVICE_NAME = "device_name"; + public static final String LIGHT = "/light"; + public static final String LEFT_DOOR = "/door/left"; + public static final String RIGHT_DOOR = "/door/right"; + public static final String RANDOM_DOOR = "/door/random"; + public static final String MESSAGE = "message"; + public static final String API_VERSION = "v.1.2"; + public static final String CLIENT_TOKEN = "AaBbYyZz"; + public static final String ON = "on"; + public static final String OPEN = "open"; + public static final String SIDE = "side"; + public static final String INTENT = "org.iotivity.base.examples.fridgeclient"; + public static final String RESOURCE_INTERFACE = OcPlatform.DEFAULT_INTERFACE; + + public static final int WAIT_TIME = 1000; + public static final int API_VERSION_KEY = 2048; + public static final int CLIENT_TOKEN_KEY = 3000; + + public static final boolean ENABLE_PRINTING = true; // change to false to disable printing + // of messages on the console and the screen +}