Tuya iOS Smart Life App SDK 5.15.0
<ThingModuleConfigBlueprint> Protocol Reference

#import <ThingModuleConfigBlueprint.h>

Inheritance diagram for <ThingModuleConfigBlueprint>:
<ThingModuleBaseBlueprint> <ThingModuleBaseBlueprint> ThingModuleConfig ThingModuleConfig

Instance Methods

(id) - configValueForKeyPath:
 
(nullable Class) - validClassOfConfigClass:
 
(nullable Class) - validClassOfConfigKeyPath:
 
(id) - configValueForKeyPath:
 
(nullable Class) - validClassOfConfigClass:
 
(nullable Class) - validClassOfConfigKeyPath:
 

Properties

NSDictionary * originalData
 
Class< ThingModuleApplicationBlueprintapplicationModule
 
NSArray< Class< ThingModuleServiceRegisterProtocol > > * buildModules
 
NSArray< Class< ThingModuleTabRegisterProtocol > > * moduleOnTabBar
 
Class< ThingModuleTabRegisterProtocoltabSelectedModule
 
NSDictionary< NSString *, Class > * mixMapping
 

Additional Inherited Members

- Class Methods inherited from <ThingModuleBaseBlueprint>
(instancetype) + oneInstance
 
(instancetype) + oneInstance
 

Detailed Description

Definition at line 16 of file ThingModuleConfigBlueprint.h.

Method Documentation

◆ configValueForKeyPath: [1/2]

- (id) configValueForKeyPath: (NSString *)  keyPath

value for specified key path in the original data key path like that is supported : a_path a_path.sub_path a_path.[2].sub_path

根据所给keyPath,在originalData中查找并返回数据 支持点语法 xxx.xxx 支持数组 xxx.[2].xxx

◆ configValueForKeyPath: [2/2]

- (id) configValueForKeyPath: (NSString *)  keyPath

value for specified key path in the original data key path like that is supported : a_path a_path.sub_path a_path.[2].sub_path

根据所给keyPath,在originalData中查找并返回数据 支持点语法 xxx.xxx 支持数组 xxx.[2].xxx

◆ validClassOfConfigClass: [1/2]

- (nullable Class) validClassOfConfigClass: (nonnull NSString *)  moduleName

the class that find out by the module name eg. input: "TestModule" return: TestModuleImpl or TestModule class

根据根据所给模块名返回正确的类

◆ validClassOfConfigClass: [2/2]

- (nullable Class) validClassOfConfigClass: (nonnull NSString *)  moduleName

the class that find out by the module name eg. input: "TestModule" return: TestModuleImpl or TestModule class

根据根据所给模块名返回正确的类

◆ validClassOfConfigKeyPath: [1/2]

- (nullable Class) validClassOfConfigKeyPath: (nonnull NSString *)  keyPath

class for specified key path in the original data key path like that is supported : a_path a_path.sub_path a_path.[2].sub_path

根据所给keyPath,在originalData中查找并返回正确的class 支持点语法 xxx.xxx 支持数组 xxx.[2].xxx

◆ validClassOfConfigKeyPath: [2/2]

- (nullable Class) validClassOfConfigKeyPath: (nonnull NSString *)  keyPath

class for specified key path in the original data key path like that is supported : a_path a_path.sub_path a_path.[2].sub_path

根据所给keyPath,在originalData中查找并返回正确的class 支持点语法 xxx.xxx 支持数组 xxx.[2].xxx

Property Documentation

◆ applicationModule

- (Class< ThingModuleApplicationBlueprint >) applicationModule
readnonatomicstrong

Definition at line 20 of file ThingModuleConfigBlueprint.h.

◆ buildModules

- (NSArray<Class<ThingModuleServiceRegisterProtocol> >*) buildModules
readnonatomicstrong

all modules that need to be loaded

所有需要被加载的模块

Definition at line 27 of file ThingModuleConfigBlueprint.h.

◆ mixMapping

- (NSDictionary<NSString *, Class>*) mixMapping
readnonatomicstrong

map of Mix Mode

Definition at line 47 of file ThingModuleConfigBlueprint.h.

◆ moduleOnTabBar

- (NSArray<Class<ThingModuleTabRegisterProtocol> >*) moduleOnTabBar
readnonatomicstrong

modules that need to display on the tab bar

想要展示在tab上的模块

Definition at line 34 of file ThingModuleConfigBlueprint.h.

◆ originalData

- (NSDictionary *) originalData
readnonatomicstrong

Definition at line 18 of file ThingModuleConfigBlueprint.h.

◆ tabSelectedModule

- (Class<ThingModuleTabRegisterProtocol>) tabSelectedModule
readnonatomicstrong

default select module on tab bar

tabBar上默认选中的模块

Definition at line 41 of file ThingModuleConfigBlueprint.h.


The documentation for this protocol was generated from the following files: