From: nikhil.a Date: Wed, 12 Oct 2016 09:24:33 +0000 (+0530) Subject: Update Cpp Api doxygen X-Git-Tag: 1.2.0+RC4~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e872a29707f7f07e0f43046baf9faed35b22431;p=platform%2Fupstream%2Fiotivity.git Update Cpp Api doxygen Change-Id: I4ed23e32956980d816c3a7e6bb0605272df2782f Signed-off-by: nikhil.a Reviewed-on: https://gerrit.iotivity.org/gerrit/13147 Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- diff --git a/service/notification/cpp-wrapper/provider/inc/NSConsumer.h b/service/notification/cpp-wrapper/provider/inc/NSConsumer.h index 5a3b8c2..17ef502 100755 --- a/service/notification/cpp-wrapper/provider/inc/NSConsumer.h +++ b/service/notification/cpp-wrapper/provider/inc/NSConsumer.h @@ -78,7 +78,7 @@ namespace OIC /** * This method is for setting icon image for the Notification service media contents. - * + * This function is valid only when subControllability is set true. * @param accepted - as bool. */ int acceptSubscription(bool accepted); diff --git a/service/notification/cpp-wrapper/provider/inc/NSProviderService.h b/service/notification/cpp-wrapper/provider/inc/NSProviderService.h index 1eb69bb..f96d239 100755 --- a/service/notification/cpp-wrapper/provider/inc/NSProviderService.h +++ b/service/notification/cpp-wrapper/provider/inc/NSProviderService.h @@ -48,14 +48,14 @@ namespace OIC public: /** * Provider uses this callback function to receive subscription request of consumer - * @param[in] consumer Consumer who subscribes the resource + * @param[in] consumer Consumer who subscribes the notification message resource */ typedef void (*ConsumerSubscribedCallback)(NSConsumer *); /** * Provider use this callback function to receive the status of the message * synchronization - * @param[in] sync Synchronization information of the notification message + * @param[in] sync Synchronization information of the notification message */ typedef void (*MessageSynchronizedCallback)(NSSyncInfo *); @@ -76,9 +76,9 @@ namespace OIC /** subControllability - for setting the subscription controllability for Consumer */ bool subControllability; - /** userInfo - user defined information */ + /** userInfo - user defined information such as device friendly name */ std::string userInfo; - /* Set on/off with SECURED build option */ + /* Set on/off for secure resource channel setting */ bool resourceSecurity; } ProviderConfig; @@ -127,13 +127,13 @@ namespace OIC /** * Send read-check to provider in order to synchronize notification status with other consumers - * @param[in] messageId Notification message to synchronize the status + * @param[in] messageId ID of Notification message to synchronize the status * @param[in] type NotificationSyncType of the SyncInfo message */ void sendSyncInfo(uint64_t messageId, NSSyncInfo::NSSyncType type); /** - * Initialize NSMessage class, service sets message id and provider(device) id + * Initialize NSMessage class, This function is valid only when subControllability is set true. * @return NSMessage * */ NSMessage *createMessage();