IMSBoneConfiguration Class Reference Inherits from NSObject Declared in IMSBoneConfiguration.h Overview Bone 容器运行配置 pluginEnvironment 设置插件环境,默认为生产环境,参见枚举 IMSBonePluginEnvironment @property (nonatomic, assign) IMSBonePluginEnvironment pluginEnvironment Discussion 设置插件环境,默认为生产环境,参见枚举 IMSBonePluginEnvironment Declared In IMSBoneConfiguration.h + sharedInstance 返回 Bone 容器运行配置的实例,采用单例设计 + (instancetype)sharedInstance Discussion 返回 Bone 容器运行配置的实例,采用单例设计 Declared In IMSBoneConfiguration.h – get: 获取bone config属性 - (id)get:(NSString *)key Parameters key bone config 列表对应的key Return Value key值对应的bone config属性 Discussion 获取bone config属性 Declared In IMSBoneConfiguration.h – set:value: 可以自定义bone config 属性,这些属性会上报给插件 - (void)set:(NSString *)key value:(id)value Parameters key bone config属性对应的key value 更新的属性值 Discussion 可以自定义bone config 属性,这些属性会上报给插件 Declared In IMSBoneConfiguration.h – setAll: 更新整个bone config 属性,慎用!!! - (void)setAll:(NSDictionary *)config Parameters config bone config属性 Discussion 更新整个bone config 属性,慎用!!! Declared In IMSBoneConfiguration.h – getAll 返回所有bone config 属性 - (NSDictionary *)getAll Discussion 返回所有bone config 属性 Declared In IMSBoneConfiguration.h