Example #1
0
 public ContentInstance getContentInstance(AHContainerAddress containerId, long instanceId)
     throws M2MHapException {
   return hapServiceManager.getContentInstance(user, containerId, instanceId);
 }
Example #2
0
 public ContentInstance getOldestContentInstance(AHContainerAddress containerId)
     throws M2MHapException {
   return hapServiceManager.getContentInstance(
       user, containerId, M2MNetworkScl.CONTENT_INSTANCE_OLDEST_ID);
 }