../../../service/easy-setup/mediator/richsdk/inc/ \
../../../service/easy-setup/inc \
../../../service/scene-manager/include \
+ ../../../service/notification/include \
../../../service/notification/cpp-wrapper/provider/inc \
../../../service/notification/cpp-wrapper/consumer/inc \
../../../service/notification/cpp-wrapper/common/NSMediaContents.h \
* events
*
* @return Returns ::OC_STACK_OK if success.
- * @copydoc subscribePresence(OCPresenceHandle&, const std::string&, resourceType, OCConnectivityType, SubscribeCallback)
*/
OCStackResult subscribePresence(OCPresenceHandle& presenceHandle, const std::string& host,
OCConnectivityType connectivityType, SubscribeCallback presenceHandler);
/**
* @overload
*
+ * subscribes to a server's presence change events. By making this subscription,
+ * every time a server adds/removes/alters a resource, starts or is intentionally
+ * stopped (potentially more to be added later).
+ *
* @param presenceHandle a handle object that can be used to identify this subscription
* request. It can be used to unsubscribe from these events in the future.
* It will be set upon successful return of this method.
* interface. Example: CT_DEFAULT, CT_ADAPTER_IP, CT_ADAPTER_TCP.
* @param presenceHandler callback function that will receive notifications/subscription
* events
+ *
* @see subscribePresence(OCPresenceHandle&, const std::string&, OCConnectivityType, SubscribeCallback)
*/
OCStackResult subscribePresence(OCPresenceHandle& presenceHandle, const std::string& host,
/**
* API to set the entire resource attribute representation
* @param rep reference to the resource's representation
- * @param interface specifies the interface
+ * @param iface specifies the interface
*/
void setResourceRepresentation(OCRepresentation& rep, std::string iface) {
m_interface = iface;
/**
* API to set the entire resource attribute representation
* @param rep rvalue reference to the resource's representation
- * @param interface specifies the interface
+ * @param iface specifies the interface
*/
void setResourceRepresentation(OCRepresentation&& rep, std::string iface) {
setResourceRepresentation(rep, iface);
/**
* Constructs an exception with a description.
*
- * @param OCStackResult The description for the error.
+ * @param reason OCStackResult The description for the error.
*/
explicit ESPlatformException(OCStackResult reason);
/**
* Constructs an exception with a description.
*
- * @param OCStackResult The description for the error.
+ * @param what OCStackResult The description for the error.
*/
explicit ESBadRequestException(const std::string& what);
/**
/**
* Constructs an exception with a description.
*
- * @param OCStackResult The description for the error.
+ * @param what OCStackResult The description for the error.
*/
explicit ESInvalidParameterException(const std::string& what);
/**
/**
* Constructs an exception with a description.
*
- * @param OCStackResult The description for the error.
+ * @param what OCStackResult The description for the error.
*/
explicit ESBadGetException(const std::string& what);
/**
/**
* Constructs an exception with a description.
*
- * @param OCStackResult The description for the error.
+ * @param what OCStackResult The description for the error.
*/
explicit ESInvalidKeyException(const std::string& what);
/**
/**
* Constructor with OCRepresentation object. This is used for JNI communication.
+ * @param rep OCRepresentation object
*/
CloudProp(const OCRepresentation &rep)
{
/**
* Constructor with OCRepresentation object. This is used for JNI communication.
+ * @param rep OCRepresentation object
*/
DeviceProp(const OCRepresentation &rep)
{
*
* @param language IETF language tag using ISO 639X
* @param country ISO Country Code (ISO 3166-1 Alpha-2)
+ * @param location location information
*/
void setDevConfProp(string language, string country, string location)
{
};
/**
- * @breif This provide a set of getter APIs from received response for getConfiguration().
+ * @brief This provide a set of getter APIs from received response for getConfiguration().
* Received information includes a device name, WiFi supported mode, and frequency.
* Additionally, you can know if Enrollee can be access to cloud server with this
* object.
/**
* Constructor of NSTopicsList.
*
- * @param topics - pointer to NSTopicLL struct to initialize.
+ * @param topics pointer to NSTopicLL struct to initialize.
+ * @param modify indicate if the list is modifiable
*/
NSTopicsList(::NSTopicLL *topics, bool modify);
std::shared_ptr<NSProvider> getProvider(const std::string &id);
/**
- * request to add NSProvider pointer
- * @param shared pointer to NSProvider
+ * Request to add NSProvider pointer
+ * @param provider shared pointer to NSProvider
*
*/
void addProvider(std::shared_ptr<NSProvider> provider);
\r
/**\r
* Request to subscribe to remote MQ address as parameter.\r
- * @param[in] server address combined with IP address and port number and MQ broker uri using delimiter :\r
+ * @param[in] serverAddress server address combined with IP address and port number and MQ broker uri using delimiter :\r
* @param[in] topicName the interest Topic name for subscription.\r
* @return ::NS_OK or result code of NSResult\r
*/\r
std::shared_ptr<NSConsumer> getConsumer(const std::string &id);
/**
- * request to add NSConsumer pointer
- * @param pointer to NSConsumer
+ * Request to add NSConsumer pointer
+ *
+ * @param consumer pointer to NSConsumer
*
*/
void addConsumer(std::shared_ptr<NSConsumer> consumer);
\r
/**\r
* Request to subscribe to remote MQ address as parameter.\r
- * @param[in] server address combined with IP address and port number and MQ broker uri using delimiter :\r
+ * @param[in] serverAddress server address combined with IP address and port number and MQ broker uri using delimiter :\r
* @param[in] topicName the interest Topic name for subscription.\r
* @return ::NS_OK or result code of NSResult\r
*/\r