ThingSmartFeedback provides methods for developers to implement feedback functionalities.
More...
#import <ThingSmartFeedback.h>
ThingSmartFeedback provides methods for developers to implement feedback functionalities.
When the user finds a problem and needs to submit feedback, he/she can add it. When adding feedback, he/she should first select the feedback type, then write the feedback content and submit it.
All functions related to feedback correspond to the ThingSmartFeedback class, which supports the following list of functions:
Definition at line 22 of file ThingSmartFeedback.h.
◆ addFeedback:hdId:hdType:contact:success:failure: [1/4]
- (void) addFeedback: |
|
(NSString *) |
content |
hdId: |
|
(NSString *) |
hdId |
hdType: |
|
(NSUInteger) |
hdType |
contact: |
|
(NSString *) |
contact |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add feedback and submit the content of the feedback entered by the user.
The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Note
- This is suggested for App related issues and devices that do not need strong bindings.
- Parameters
-
content | The feedback content. |
hdId | The feedback ID. |
hdType | The feedback type. |
contact | The contact information. |
success | When successfully add the feedback, this block will be called. |
failure | This block will be called if some error occurred. |
◆ addFeedback:hdId:hdType:contact:success:failure: [2/4]
- (void) addFeedback: |
|
(NSString *) |
content |
hdId: |
|
(NSString *) |
hdId |
hdType: |
|
(NSUInteger) |
hdType |
contact: |
|
(NSString *) |
contact |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add feedback and submit the content of the feedback entered by the user.
The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Note
- This is suggested for App related issues and devices that do not need strong bindings.
- Parameters
-
content | The feedback content. |
hdId | The feedback ID. |
hdType | The feedback type. |
contact | The contact information. |
success | When successfully add the feedback, this block will be called. |
failure | This block will be called if some error occurred. |
◆ addFeedback:hdId:hdType:contact:success:failure: [3/4]
- (void) addFeedback: |
|
(NSString *) |
content |
hdId: |
|
(NSString *) |
hdId |
hdType: |
|
(NSUInteger) |
hdType |
contact: |
|
(NSString *) |
contact |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add feedback and submit the content of the feedback entered by the user.
The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Note
- This is suggested for App related issues and devices that do not need strong bindings.
- Parameters
-
content | The feedback content. |
hdId | The feedback ID. |
hdType | The feedback type. |
contact | The contact information. |
success | When successfully add the feedback, this block will be called. |
failure | This block will be called if some error occurred. |
◆ addFeedback:hdId:hdType:contact:success:failure: [4/4]
- (void) addFeedback: |
|
(NSString *) |
content |
hdId: |
|
(NSString *) |
hdId |
hdType: |
|
(NSUInteger) |
hdType |
contact: |
|
(NSString *) |
contact |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add feedback and submit the content of the feedback entered by the user.
The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Note
- This is suggested for App related issues and devices that do not need strong bindings.
- Parameters
-
content | The feedback content. |
hdId | The feedback ID. |
hdType | The feedback type. |
contact | The contact information. |
success | When successfully add the feedback, this block will be called. |
failure | This block will be called if some error occurred. |
◆ addFeedback:hdId:hdType:contact:uuid:region:success:failure: [1/4]
- (void) addFeedback: |
|
(NSString *) |
content |
hdId: |
|
(NSString *) |
hdId |
hdType: |
|
(NSUInteger) |
hdType |
contact: |
|
(NSString *) |
contact |
uuid: |
|
(NSString *) |
uuid |
region: |
|
(NSString *) |
region |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add feedback and submit the content of the feedback entered by the user.
The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Note
- This is suggested for devices that need strong bindings, for example IP cameras.
- Parameters
-
content | The feedback content. |
hdId | The feedback ID. |
hdType | The feedback type. |
contact | The contact information. |
uuid | The UUID for the device. |
region | The user's region. |
success | When successfully add the feedback, this block will be called. |
failure | This block will be called if some error occurred. |
◆ addFeedback:hdId:hdType:contact:uuid:region:success:failure: [2/4]
- (void) addFeedback: |
|
(NSString *) |
content |
hdId: |
|
(NSString *) |
hdId |
hdType: |
|
(NSUInteger) |
hdType |
contact: |
|
(NSString *) |
contact |
uuid: |
|
(NSString *) |
uuid |
region: |
|
(NSString *) |
region |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add feedback and submit the content of the feedback entered by the user.
The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Note
- This is suggested for devices that need strong bindings, for example IP cameras.
- Parameters
-
content | The feedback content. |
hdId | The feedback ID. |
hdType | The feedback type. |
contact | The contact information. |
uuid | The UUID for the device. |
region | The user's region. |
success | When successfully add the feedback, this block will be called. |
failure | This block will be called if some error occurred. |
◆ addFeedback:hdId:hdType:contact:uuid:region:success:failure: [3/4]
- (void) addFeedback: |
|
(NSString *) |
content |
hdId: |
|
(NSString *) |
hdId |
hdType: |
|
(NSUInteger) |
hdType |
contact: |
|
(NSString *) |
contact |
uuid: |
|
(NSString *) |
uuid |
region: |
|
(NSString *) |
region |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add feedback and submit the content of the feedback entered by the user.
The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Note
- This is suggested for devices that need strong bindings, for example IP cameras.
- Parameters
-
content | The feedback content. |
hdId | The feedback ID. |
hdType | The feedback type. |
contact | The contact information. |
uuid | The UUID for the device. |
region | The user's region. |
success | When successfully add the feedback, this block will be called. |
failure | This block will be called if some error occurred. |
◆ addFeedback:hdId:hdType:contact:uuid:region:success:failure: [4/4]
- (void) addFeedback: |
|
(NSString *) |
content |
hdId: |
|
(NSString *) |
hdId |
hdType: |
|
(NSUInteger) |
hdType |
contact: |
|
(NSString *) |
contact |
uuid: |
|
(NSString *) |
uuid |
region: |
|
(NSString *) |
region |
success: |
|
(ThingSuccessHandler) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Add feedback and submit the content of the feedback entered by the user.
The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Note
- This is suggested for devices that need strong bindings, for example IP cameras.
- Parameters
-
content | The feedback content. |
hdId | The feedback ID. |
hdType | The feedback type. |
contact | The contact information. |
uuid | The UUID for the device. |
region | The user's region. |
success | When successfully add the feedback, this block will be called. |
failure | This block will be called if some error occurred. |
◆ cancelRequest [1/4]
Canceling an ongoing operation.
◆ cancelRequest [2/4]
Canceling an ongoing operation.
◆ cancelRequest [3/4]
Canceling an ongoing operation.
◆ cancelRequest [4/4]
Canceling an ongoing operation.
◆ getFeedbackList:hdType:success:failure: [1/4]
Get a list of the corresponding feedback contents in the feedback session. The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Parameters
-
hdId | The feedback ID. |
hdType | The feedback type. |
success | When success, return feedback list. |
failure | When error occurred, return ThingFailureError. |
◆ getFeedbackList:hdType:success:failure: [2/4]
Get a list of the corresponding feedback contents in the feedback session. The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Parameters
-
hdId | The feedback ID. |
hdType | The feedback type. |
success | When success, return feedback list. |
failure | When error occurred, return ThingFailureError. |
◆ getFeedbackList:hdType:success:failure: [3/4]
Get a list of the corresponding feedback contents in the feedback session. The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Parameters
-
hdId | The feedback ID. |
hdType | The feedback type. |
success | When success, return feedback list. |
failure | When error occurred, return ThingFailureError. |
◆ getFeedbackList:hdType:success:failure: [4/4]
Get a list of the corresponding feedback contents in the feedback session. The hdId
and hdType
can be obtained from ThingSmartFeedbackTalkListModel.
- Parameters
-
hdId | The feedback ID. |
hdType | The feedback type. |
success | When success, return feedback list. |
failure | When error occurred, return ThingFailureError. |
◆ getFeedbackTalkList:failure: [1/4]
Get a list of sessions that users have submitted feedback on.
- Parameters
-
success | When success, return feedback session list. |
failure | When error occurred, return ThingFailureError. |
◆ getFeedbackTalkList:failure: [2/4]
Get a list of sessions that users have submitted feedback on.
- Parameters
-
success | When success, return feedback session list. |
failure | When error occurred, return ThingFailureError. |
◆ getFeedbackTalkList:failure: [3/4]
Get a list of sessions that users have submitted feedback on.
- Parameters
-
success | When success, return feedback session list. |
failure | When error occurred, return ThingFailureError. |
◆ getFeedbackTalkList:failure: [4/4]
Get a list of sessions that users have submitted feedback on.
- Parameters
-
success | When success, return feedback session list. |
failure | When error occurred, return ThingFailureError. |
◆ getFeedbackTypeList:failure: [1/4]
Get feedback type list. When adding feedback, select the type of feedback first.
- Parameters
-
◆ getFeedbackTypeList:failure: [2/4]
Get feedback type list. When adding feedback, select the type of feedback first.
- Parameters
-
◆ getFeedbackTypeList:failure: [3/4]
Get feedback type list. When adding feedback, select the type of feedback first.
- Parameters
-
◆ getFeedbackTypeList:failure: [4/4]
Get feedback type list. When adding feedback, select the type of feedback first.
- Parameters
-
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartFeedbackKit/Build/ThingSmartFeedbackKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartFeedbackKit.framework/Headers/ThingSmartFeedback.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartFeedbackKit/Build/ThingSmartFeedbackKit.xcframework/watchos-arm64_i386_x86_64-simulator/ThingSmartFeedbackKit.framework/Headers/ThingSmartFeedback.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartFeedbackKit/Build/ThingSmartFeedbackKit.xcframework/ios-arm64/ThingSmartFeedbackKit.framework/Headers/ThingSmartFeedback.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartFeedbackKit/Build/ThingSmartFeedbackKit.xcframework/watchos-arm64_arm64_32_armv7k/ThingSmartFeedbackKit.framework/Headers/ThingSmartFeedback.h