public:\r
/**\r
* Provider uses this callback function to receive subscription request of consumer\r
- * @param[in] consumer Consumer who subscribes the resource\r
+ * @param[in] consumer Consumer who subscribes the notification message resource\r
*/\r
typedef void (*ConsumerSubscribedCallback)(NSConsumer *);\r
\r
/**\r
* Provider use this callback function to receive the status of the message\r
* synchronization\r
- * @param[in] sync Synchronization information of the notification message\r
+ * @param[in] sync Synchronization information of the notification message\r
*/\r
typedef void (*MessageSynchronizedCallback)(NSSyncInfo *);\r
\r
\r
/** subControllability - for setting the subscription controllability for Consumer */\r
bool subControllability;\r
- /** userInfo - user defined information */\r
+ /** userInfo - user defined information such as device friendly name */\r
std::string userInfo;\r
- /* Set on/off with SECURED build option */\r
+ /* Set on/off for secure resource channel setting */\r
bool resourceSecurity;\r
} ProviderConfig;\r
\r
\r
/**\r
* Send read-check to provider in order to synchronize notification status with other consumers\r
- * @param[in] messageId Notification message to synchronize the status\r
+ * @param[in] messageId ID of Notification message to synchronize the status\r
* @param[in] type NotificationSyncType of the SyncInfo message\r
*/\r
void sendSyncInfo(uint64_t messageId, NSSyncInfo::NSSyncType type);\r
\r
/**\r
- * Initialize NSMessage class, service sets message id and provider(device) id\r
+ * Initialize NSMessage class, This function is valid only when subControllability is set true.\r
* @return NSMessage *\r
*/\r
NSMessage *createMessage();\r