BDVRSettingsItem.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // BDVRSettingsItem.h
  3. // BDVRClientDemo
  4. //
  5. // Created by baidu on 16/3/14.
  6. // Copyright © 2016年 baidu. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. typedef enum TBDSettingsGroupType
  10. {
  11. EBDGroupTypeASR,
  12. EBDGroupTypeWakeup,
  13. } TBDSettingsGroupType;
  14. typedef enum TBDSettingsCellType
  15. {
  16. EBDCellTypeInput,
  17. EBDCellTypeDetail,
  18. EBDCellTypeInfo,
  19. } TBDSettingsCellType;
  20. @interface BDVRSettingsItem : NSObject
  21. @property (nonatomic, strong) NSString *itemKey;
  22. @property (nonatomic, strong) NSString *itemTitle;
  23. @property (nonatomic, strong) id curItemValue;
  24. @property (nonatomic, assign) TBDSettingsGroupType groupType;
  25. @property (nonatomic, assign) TBDSettingsCellType cellType;
  26. @property (nonatomic, strong) NSDictionary *detailDictionary;
  27. - (instancetype)initWithItemTitle:(NSString *)itemTitle
  28. itemKey:(NSString *)itemKey
  29. groupType:(TBDSettingsGroupType)groupType
  30. cellType:(TBDSettingsCellType)cellType
  31. curItemValue:(id)curItemValue
  32. detailDictionary:(NSDictionary *)detailDictionary;
  33. @end