*
* @param isDiscoverable
* whether to be discoverable or not
- *
+ * @return the Builder
*/
public Builder setDiscoverable(boolean isDiscoverable) {
mIsDiscovervable = isDiscoverable;
*
* @param isObservable
* whether to be observable or not
+ * @return the Builder
*
*/
public Builder setObservable(boolean isObservable) {
}
/**
- * Sets attributes foe the resource.
- *
+ * Sets attributes for the resource.
+ * @param attributes the attributes to set for the resource
+ * @return the Builder
*/
public Builder setAttributes(RcsResourceAttributes attributes) {
mAttributes = attributes;
}
/**
- * Register a resource and returns a RCSResourceObject.
+ * Register a resource
+ *
+ * @return a RCSResourceObject.
*
* throws RcsPlatformException
* If registering a resource is failed.
}
/**
- * Returns a copied attributes of the RCSResourceObject.
+ * Returns a copied attributes of the RcsResourceObject.
* To modify the attributes, use {@link AttributesLock}.
*
+ * @return copied attributes of the RcsResourceObject
+ *
* @throws RcsDestroyedObjectException
* if the object is destroyed
*
}
/**
- * Returns an AttributesLock for this RcsResourceObject.
+ * Get AttributesLock for this RcsResourceObject.
+ *
+ * @return an AttributesLock for this RcsResourceObject.
*
* @throws RcsDestroyedObjectException
* if the object is destroyed
/**
* Checks whether the resource is observable or not.
*
+ * @return true if the resource is observable.
+ *
* @throws RcsDestroyedObjectException
* if the object is destroyed
*/
/**
* Checks whether the resource is discoverable or not.
*
+ * @return true is the resource is discoverable.
+ *
* @throws RcsDestroyedObjectException
* if the object is destroyed
*/
*
* Default behavior is {@link RcsGetResponse#defaultAction()}.
*
+ * @param handler the GetRequestHandler. Pass null to remove handler.
* @throws RcsDestroyedObjectException
* if the object is destroyed
*/
*
* Default behavior is {@link RcsSetResponse#defaultAction()}.
*
+ * @param handler the SetRequestHandler. Pass null to remove handler.
+ *
* @throws RcsDestroyedObjectException
* if the object is destroyed
*
}
/**
- * Returns the current policy
+ * Get the current policy
+ *
+ * @return the current policy
*
* @throws RcsDestroyedObjectException
* if the object is destroyed
/**
* Returns the current policy.
*
+ * @return the current request handler policy
+ *
* @throws RcsDestroyedObjectException
* if the object is destroyed
*/