Initial merge-commit of the OIC code. Should successfully do discovery for single...
[platform/upstream/iotivity.git] / csdk / android / OCLib / src / com / oc / OCObject.java
1 //******************************************************************
2 //
3 // Copyright 2014 Intel Corporation All Rights Reserved.
4 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
5
6 package com.oc;
7
8 /**
9  * 
10  * Represents a basic local resource to be offered to remote services.
11  * 
12  */
13 public interface OCObject {
14   /**
15    * Determines if the resource should be listed in the well-known core list.
16    * 
17    * NOTE: This may be better handled at a different location.
18    * 
19    * @return Returns true if resource should be listed.
20    */
21   boolean isVisible();
22 }