projects
/
apps
/
native
/
smart-surveillance-camera.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update SmartThings APIs for Tizen 5.0
[apps/native/smart-surveillance-camera.git]
/
inc
/
smartthings_resource.h
diff --git
a/inc/smartthings_resource.h
b/inc/smartthings_resource.h
index
962339b
..
1968c50
100644
(file)
--- a/
inc/smartthings_resource.h
+++ b/
inc/smartthings_resource.h
@@
-1,5
+1,6
@@
- /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+/*****************************************************************
+ *
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-8,11
+9,13
@@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an
AS IS
BASIS,
+ * distributed under the License is distributed on an
"AS IS"
BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ *
+ ******************************************************************/
+
#ifndef __SAMSUNG_EXPERIENCE_SERVICE_SMARTTHINGS_RESOURCE_H__
#define __SAMSUNG_EXPERIENCE_SERVICE_SMARTTHINGS_RESOURCE_H__
#ifndef __SAMSUNG_EXPERIENCE_SERVICE_SMARTTHINGS_RESOURCE_H__
#define __SAMSUNG_EXPERIENCE_SERVICE_SMARTTHINGS_RESOURCE_H__
@@
-80,16
+83,11
@@
typedef struct smartthings_resource_s *smartthings_resource_h;
/**
* @brief Callback for status of connection to SmartThings Thing agent.
/**
* @brief Callback for status of connection to SmartThings Thing agent.
- * @details The following error codes can be received: \n
- #SMARTTHINGS_RESOURCE_ERROR_NONE: Success \n
- #SMARTTHINGS_RESOURCE_ERROR_PERMISSION_DENIED: Permission denied \n
- #SMARTTHINGS_RESOURCE_ERROR_SERVICE_UNAVAILABLE: Service unavailable \n
* @since_ses 1
*
* @remarks The @a handle should not be released.
* @remarks The @a handle is the same object for which the callback was set/added.
* @remarks The @a handle will be released when smartthings_deinitialize() is called.
* @since_ses 1
*
* @remarks The @a handle should not be released.
* @remarks The @a handle is the same object for which the callback was set/added.
* @remarks The @a handle will be released when smartthings_deinitialize() is called.
- * @remarks When callback is called, user can see result as #smartthings_resource_error_e enumeration value.
* @remarks When callback is called, user can see connection status as #smartthings_connection_status_e enumeration value.
*
* @param[in] result The result of connection operation
* @remarks When callback is called, user can see connection status as #smartthings_connection_status_e enumeration value.
*
* @param[in] result The result of connection operation
@@
-99,8
+97,7
@@
typedef struct smartthings_resource_s *smartthings_resource_h;
*
* @see smartthings_resource_initialize()
*/
*
* @see smartthings_resource_initialize()
*/
-typedef void (*smartthings_resource_connection_status_cb)(smartthings_resource_error_e result, smartthings_resource_h handle, smartthings_resource_connection_status_e status, void *user_data);
-
+typedef void (*smartthings_resource_connection_status_cb)(smartthings_resource_h handle, smartthings_resource_connection_status_e status, void *user_data);
/**
* @brief Callback for handling request(GET/SET) messages.
/**
* @brief Callback for handling request(GET/SET) messages.