TuyaSmartFeedback Class Reference

Inherits from NSObject
Declared in TuyaSmartFeedback.h

– getFeedbackTalkList:failure:

Get feedback session list. 获取反馈会话列表

- (void)getFeedbackTalkList:(void ( ^ ) ( NSArray<TuyaSmartFeedbackTalkListModel*> *list ))success failure:(TYFailureError)failure

Parameters

success

Success block

failure

Failure block

Discussion

Get feedback session list. 获取反馈会话列表

Declared In

TuyaSmartFeedback.h

– getFeedbackList:hdType:success:failure:

Get feedback list. 获取反馈列表

- (void)getFeedbackList:(NSString *)hdId hdType:(NSUInteger)hdType success:(void ( ^ ) ( NSArray<TuyaSmartFeedbackModel*> *list ))success failure:(TYFailureError)failure

Parameters

hdId

Feedback Id

hdType

Feedback type

success

Success block

failure

Failure block

Discussion

Get feedback list. 获取反馈列表

Declared In

TuyaSmartFeedback.h

– getFeedbackTypeList:failure:

Get feedback type list. 获取反馈类型列表

- (void)getFeedbackTypeList:(void ( ^ ) ( NSArray<TuyaSmartFeedbackTypeListModel*> *list ))success failure:(TYFailureError)failure

Parameters

success

Success block

failure

Failure block

Discussion

Get feedback type list. 获取反馈类型列表

Declared In

TuyaSmartFeedback.h

– addFeedback:hdId:hdType:contact:success:failure:

Submit feedback. 添加反馈

- (void)addFeedback:(NSString *)content hdId:(NSString *)hdId hdType:(NSUInteger)hdType contact:(NSString *)contact success:(TYSuccessHandler)success failure:(TYFailureError)failure

Parameters

content

Feedback content

hdId

Feedback Id

hdType

Feedback type

contact

Contact

success

Success block

failure

Failure block

Discussion

Submit feedback. 添加反馈

Declared In

TuyaSmartFeedback.h

– cancelRequest

Cancel the request being executed. 取消正在进行的操作

- (void)cancelRequest

Discussion

Cancel the request being executed. 取消正在进行的操作

Declared In

TuyaSmartFeedback.h