1 package com.example.sample.provider;
3 import org.iotivity.base.OcPlatform;
5 public class StringConstants {
6 public static final String RESOURCE_URI = "/a/TempHumSensor/hosting";
7 public static final String RESOURCE_TYPENAME = "resource.hosting";
8 public static final String RESOURCE_INTERFACE = OcPlatform.DEFAULT_INTERFACE; // resource interface
9 public static final String HUMIDITY = "humidity";
10 public static final String TEMPERATURE = "temperature";
11 public static final String MESSAGE = "message";
12 public static final int ERROR_CODE = 200;