![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <ThingSmartHome.h>
Class Methods | |
(instancetype) | + homeWithHomeId: |
(instancetype) | + homeWithHomeId: |
(instancetype) | + homeWithHomeId: |
(instancetype) | + homeWithHomeId: |
Properties | |
long long | homeId |
id< ThingSmartHomeDelegate > | delegate |
ThingSmartHomeModel * | homeModel |
NSArray< ThingSmartRoomModel * > * | roomList |
NSArray< ThingSmartDeviceModel * > * | deviceList |
NSArray< ThingSmartDeviceModel * > * | localDeviceList |
NSArray< ThingSmartGroupModel * > * | groupList |
NSArray< ThingSmartDeviceModel * > * | sharedDeviceList |
NSArray< ThingSmartGroupModel * > * | sharedGroupList |
NSArray< ThingSmartDeviceOTAModel * > * | deviceOtaList |
ThingSmartBleMeshModel * | meshModel |
ThingSmartBleMeshModel * | beaconMeshModel |
ThingSmartBleMeshModel * | sigMeshModel |
Definition at line 157 of file ThingSmartHome.h.
- (void) addHomeMemberWithAddMemeberRequestModel: | (ThingSmartHomeAddMemberRequestModel *) | requestModel | |
success: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
Adds a home member.
requestModel | The member model. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeMemberWithAddMemeberRequestModel: | (ThingSmartHomeAddMemberRequestModel *) | requestModel | |
success: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
Adds a home member.
requestModel | The member model. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeMemberWithAddMemeberRequestModel: | (ThingSmartHomeAddMemberRequestModel *) | requestModel | |
success: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
Adds a home member.
requestModel | The member model. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeMemberWithAddMemeberRequestModel: | (ThingSmartHomeAddMemberRequestModel *) | requestModel | |
success: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
Adds a home member.
requestModel | The member model. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeMemberWithName: | (NSString *) | name | |
headPic: | (UIImage *) | headPic | |
countryCode: | (NSString *) | countryCode | |
userAccount: | (NSString *) | account | |
isAdmin: | (BOOL) | isAdmin | |
success: | (ThingSuccessDict) | success | |
failure: | ("This method is) | deprecated | |
(Use ") | __deprecated_msg[ThingSmartHome addHomeMemberWithName:headPic:countryCode:userAccount:role:success:failure:] | ||
Adds a home member.
name | The member's name. |
headPic | The member's avatar. |
countryCode | The country code. |
account | The user account. |
isAdmin | Specifies whether the member is an administrator. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) addHomeMemberWithName: | (NSString *) | name | |
headPic: | (UIImage *) | headPic | |
countryCode: | (NSString *) | countryCode | |
userAccount: | (NSString *) | account | |
isAdmin: | (BOOL) | isAdmin | |
success: | (ThingSuccessDict) | success | |
failure: | ("This method is) | deprecated | |
(Use ") | __deprecated_msg[ThingSmartHome addHomeMemberWithName:headPic:countryCode:userAccount:role:success:failure:] | ||
Adds a home member.
name | The member's name. |
headPic | The member's avatar. |
countryCode | The country code. |
account | The user account. |
isAdmin | Specifies whether the member is an administrator. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) addHomeMemberWithName: | (NSString *) | name | |
headPic: | (UIImage *) | headPic | |
countryCode: | (NSString *) | countryCode | |
userAccount: | (NSString *) | account | |
isAdmin: | (BOOL) | isAdmin | |
success: | (ThingSuccessDict) | success | |
failure: | ("This method is) | deprecated | |
(Use ") | __deprecated_msg[ThingSmartHome addHomeMemberWithName:headPic:countryCode:userAccount:role:success:failure:] | ||
Adds a home member.
name | The member's name. |
headPic | The member's avatar. |
countryCode | The country code. |
account | The user account. |
isAdmin | Specifies whether the member is an administrator. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) addHomeMemberWithName: | (NSString *) | name | |
headPic: | (UIImage *) | headPic | |
countryCode: | (NSString *) | countryCode | |
userAccount: | (NSString *) | account | |
isAdmin: | (BOOL) | isAdmin | |
success: | (ThingSuccessDict) | success | |
failure: | ("This method is) | deprecated | |
(Use ") | __deprecated_msg[ThingSmartHome addHomeMemberWithName:headPic:countryCode:userAccount:role:success:failure:] | ||
Adds a home member.
name | The member's name. |
headPic | The member's avatar. |
countryCode | The country code. |
account | The user account. |
isAdmin | Specifies whether the member is an administrator. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) addHomeMemberWithName: | (NSString *) | name | |
headPic: | (UIImage *) | headPic | |
countryCode: | (NSString *) | countryCode | |
userAccount: | (NSString *) | account | |
role: | (ThingHomeRoleType) | role | |
success: | (ThingSuccessDict) | success | |
failure: | ("This method is) | deprecated | |
(Use ") | __deprecated_msg[ThingSmartHome addHomeMemberWithAddMemeberRequestModel:success:failure:] | ||
Adds a home member.
name | The member's name. |
headPic | The member's avatar. |
countryCode | The country code. |
account | The user account. |
role | The type of the home role. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) addHomeMemberWithName: | (NSString *) | name | |
headPic: | (UIImage *) | headPic | |
countryCode: | (NSString *) | countryCode | |
userAccount: | (NSString *) | account | |
role: | (ThingHomeRoleType) | role | |
success: | (ThingSuccessDict) | success | |
failure: | ("This method is) | deprecated | |
(Use ") | __deprecated_msg[ThingSmartHome addHomeMemberWithAddMemeberRequestModel:success:failure:] | ||
Adds a home member.
name | The member's name. |
headPic | The member's avatar. |
countryCode | The country code. |
account | The user account. |
role | The type of the home role. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) addHomeMemberWithName: | (NSString *) | name | |
headPic: | (UIImage *) | headPic | |
countryCode: | (NSString *) | countryCode | |
userAccount: | (NSString *) | account | |
role: | (ThingHomeRoleType) | role | |
success: | (ThingSuccessDict) | success | |
failure: | ("This method is) | deprecated | |
(Use ") | __deprecated_msg[ThingSmartHome addHomeMemberWithAddMemeberRequestModel:success:failure:] | ||
Adds a home member.
name | The member's name. |
headPic | The member's avatar. |
countryCode | The country code. |
account | The user account. |
role | The type of the home role. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) addHomeMemberWithName: | (NSString *) | name | |
headPic: | (UIImage *) | headPic | |
countryCode: | (NSString *) | countryCode | |
userAccount: | (NSString *) | account | |
role: | (ThingHomeRoleType) | role | |
success: | (ThingSuccessDict) | success | |
failure: | ("This method is) | deprecated | |
(Use ") | __deprecated_msg[ThingSmartHome addHomeMemberWithAddMemeberRequestModel:success:failure:] | ||
Adds a home member.
name | The member's name. |
headPic | The member's avatar. |
countryCode | The country code. |
account | The user account. |
role | The type of the home role. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
completion: | (void(^)(ThingSmartRoomModel *_Nonnull roomModel)) | completion | |
failure: | (ThingFailureError _Nullable) | failure | |
Adds a new room.
name | The room name. |
completion | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
completion: | (void(^)(ThingSmartRoomModel *_Nonnull roomModel)) | completion | |
failure: | (ThingFailureError _Nullable) | failure | |
Adds a new room.
name | The room name. |
completion | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
completion: | (void(^)(ThingSmartRoomModel *_Nonnull roomModel)) | completion | |
failure: | (ThingFailureError _Nullable) | failure | |
Adds a new room.
name | The room name. |
completion | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
completion: | (void(^)(ThingSmartRoomModel *_Nonnull roomModel)) | completion | |
failure: | (ThingFailureError _Nullable) | failure | |
Adds a new room.
name | The room name. |
completion | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
roomTagId: | (long long) | roomTagId | |
success: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Adds a new room.
name | The room name. |
roomTagId | Can associate multiple rooms with the same tag (room tag will be available in the future). |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
roomTagId: | (long long) | roomTagId | |
success: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Adds a new room.
name | The room name. |
roomTagId | Can associate multiple rooms with the same tag (room tag will be available in the future). |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
roomTagId: | (long long) | roomTagId | |
success: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Adds a new room.
name | The room name. |
roomTagId | Can associate multiple rooms with the same tag (room tag will be available in the future). |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
roomTagId: | (long long) | roomTagId | |
success: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Adds a new room.
name | The room name. |
roomTagId | Can associate multiple rooms with the same tag (room tag will be available in the future). |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
success: | (ThingSuccessHandler _Nullable) | success | |
failure: | ("This method is) | deprecated | |
(Use instead") | __deprecated_msg[ThingSmartHome addHomeRoomWithName:completion:failure:] | ||
Adds a new room.
name | The room name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
success: | (ThingSuccessHandler _Nullable) | success | |
failure: | ("This method is) | deprecated | |
(Use instead") | __deprecated_msg[ThingSmartHome addHomeRoomWithName:completion:failure:] | ||
Adds a new room.
name | The room name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
success: | (ThingSuccessHandler _Nullable) | success | |
failure: | ("This method is) | deprecated | |
(Use instead") | __deprecated_msg[ThingSmartHome addHomeRoomWithName:completion:failure:] | ||
Adds a new room.
name | The room name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) addHomeRoomWithName: | (NSString *_Nonnull) | name | |
success: | (ThingSuccessHandler _Nullable) | success | |
failure: | ("This method is) | deprecated | |
(Use instead") | __deprecated_msg[ThingSmartHome addHomeRoomWithName:completion:failure:] | ||
Adds a new room.
name | The room name. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) dismissHomeWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Removes a home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) dismissHomeWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Removes a home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) dismissHomeWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Removes a home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) dismissHomeWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Removes a home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (NSString *) geoName |
The home location.
Provided by category ThingSmartHome(Weather).
- (NSString *) geoName |
The home location.
Provided by category ThingSmartHome(Weather).
- (NSString *) geoName |
The home location.
Provided by category ThingSmartHome(Weather).
- (NSString *) geoName |
The home location.
Provided by category ThingSmartHome(Weather).
- (void) getDeviceOTAStatusWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartDeviceOTAModel * > *)) | success | |
failure: | (ThingFailureError) | failure | |
After the home details are returned, the device OTA update status is changed.
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getDeviceOTAStatusWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartDeviceOTAModel * > *)) | success | |
failure: | (ThingFailureError) | failure | |
After the home details are returned, the device OTA update status is changed.
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getDeviceOTAStatusWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartDeviceOTAModel * > *)) | success | |
failure: | (ThingFailureError) | failure | |
After the home details are returned, the device OTA update status is changed.
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getDeviceOTAStatusWithHomeId: | (long long) | homeId | |
success: | (void(^)(NSArray< ThingSmartDeviceOTAModel * > *)) | success | |
failure: | (ThingFailureError) | failure | |
After the home details are returned, the device OTA update status is changed.
homeId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getHomeDataWithSuccess: | (void(^)(ThingSmartHomeModel *homeModel)) | success | |
failure: | (ThingFailureError) | failure | |
After the home object is initialized, you must get the details of the home, homeModel, roomList, deviceList, and groupList to set the data.
success | Called when the task is finished. ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void) getHomeDataWithSuccess: | (void(^)(ThingSmartHomeModel *homeModel)) | success | |
failure: | (ThingFailureError) | failure | |
After the home object is initialized, you must get the details of the home, homeModel, roomList, deviceList, and groupList to set the data.
success | Called when the task is finished. ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void) getHomeDataWithSuccess: | (void(^)(ThingSmartHomeModel *homeModel)) | success | |
failure: | (ThingFailureError) | failure | |
After the home object is initialized, you must get the details of the home, homeModel, roomList, deviceList, and groupList to set the data.
success | Called when the task is finished. ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void) getHomeDataWithSuccess: | (void(^)(ThingSmartHomeModel *homeModel)) | success | |
failure: | (ThingFailureError) | failure | |
After the home object is initialized, you must get the details of the home, homeModel, roomList, deviceList, and groupList to set the data.
success | Called when the task is finished. ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void) getHomeDetailWithSuccess: | (void(^)(ThingSmartHomeModel *homeModel)) | success | |
failure: | ("This method is) | deprecated | |
(it will not response panel) | info | ||
(you need get it by calling method `-(void) getPanelInfoWithProductID:productVersion:success:failure:` defined in) | ThingPanelProtocol | ||
(please use - instead.") | __deprecated_msg[ThingSmartHome getHomeDataWithSuccess:failure:] | ||
After the home object is initialized, you must get the details of the home, homeModel, roomList, deviceList, and groupList to set the data.
success | Called when the task is finished. ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void)getPanelInfoWithProductID:productVersion:success:failure:
defined in ThingPanelProtocol, please use -[ThingSmartHome getHomeDataWithSuccess:failure:] instead. Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) getHomeDetailWithSuccess: | (void(^)(ThingSmartHomeModel *homeModel)) | success | |
failure: | ("This method is) | deprecated | |
(it will not response panel) | info | ||
(you need get it by calling method `-(void) getPanelInfoWithProductID:productVersion:success:failure:` defined in) | ThingPanelProtocol | ||
(please use - instead.") | __deprecated_msg[ThingSmartHome getHomeDataWithSuccess:failure:] | ||
After the home object is initialized, you must get the details of the home, homeModel, roomList, deviceList, and groupList to set the data.
success | Called when the task is finished. ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void)getPanelInfoWithProductID:productVersion:success:failure:
defined in ThingPanelProtocol, please use -[ThingSmartHome getHomeDataWithSuccess:failure:] instead. Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) getHomeDetailWithSuccess: | (void(^)(ThingSmartHomeModel *homeModel)) | success | |
failure: | ("This method is) | deprecated | |
(it will not response panel) | info | ||
(you need get it by calling method `-(void) getPanelInfoWithProductID:productVersion:success:failure:` defined in) | ThingPanelProtocol | ||
(please use - instead.") | __deprecated_msg[ThingSmartHome getHomeDataWithSuccess:failure:] | ||
After the home object is initialized, you must get the details of the home, homeModel, roomList, deviceList, and groupList to set the data.
success | Called when the task is finished. ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void)getPanelInfoWithProductID:productVersion:success:failure:
defined in ThingPanelProtocol, please use -[ThingSmartHome getHomeDataWithSuccess:failure:] instead. Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) getHomeDetailWithSuccess: | (void(^)(ThingSmartHomeModel *homeModel)) | success | |
failure: | ("This method is) | deprecated | |
(it will not response panel) | info | ||
(you need get it by calling method `-(void) getPanelInfoWithProductID:productVersion:success:failure:` defined in) | ThingPanelProtocol | ||
(please use - instead.") | __deprecated_msg[ThingSmartHome getHomeDataWithSuccess:failure:] | ||
After the home object is initialized, you must get the details of the home, homeModel, roomList, deviceList, and groupList to set the data.
success | Called when the task is finished. ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void)getPanelInfoWithProductID:productVersion:success:failure:
defined in ThingPanelProtocol, please use -[ThingSmartHome getHomeDataWithSuccess:failure:] instead. Provided by category ThingSmartHome(ThingDeprecatedApi).
- (void) getHomeDeviceSortWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getHomeDeviceSortWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getHomeDeviceSortWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getHomeDeviceSortWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
- (void) getHomeLocalDevicesWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
get local devices
success | Called when the task is finished |
failure | Called when the task is interrupted by an error |
- (void) getHomeLocalDevicesWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
get local devices
success | Called when the task is finished |
failure | Called when the task is interrupted by an error |
- (void) getHomeLocalDevicesWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
get local devices
success | Called when the task is finished |
failure | Called when the task is interrupted by an error |
- (void) getHomeLocalDevicesWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
get local devices
success | Called when the task is finished |
failure | Called when the task is interrupted by an error |
- (void) getHomeMemberListWithSuccess: | (void(^)(NSArray< ThingSmartHomeMemberModel * > *memberList)) | success | |
failure: | (ThingFailureError) | failure | |
Returns a list of home members
success | Called when the task is finished. A list of ThingSmartHomeMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void) getHomeMemberListWithSuccess: | (void(^)(NSArray< ThingSmartHomeMemberModel * > *memberList)) | success | |
failure: | (ThingFailureError) | failure | |
Returns a list of home members
success | Called when the task is finished. A list of ThingSmartHomeMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void) getHomeMemberListWithSuccess: | (void(^)(NSArray< ThingSmartHomeMemberModel * > *memberList)) | success | |
failure: | (ThingFailureError) | failure | |
Returns a list of home members
success | Called when the task is finished. A list of ThingSmartHomeMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void) getHomeMemberListWithSuccess: | (void(^)(NSArray< ThingSmartHomeMemberModel * > *memberList)) | success | |
failure: | (ThingFailureError) | failure | |
Returns a list of home members
success | Called when the task is finished. A list of ThingSmartHomeMemberModel is returned. |
failure | Called when the task is interrupted by an error. |
- (void) getHomeWeatherDetailWithOption: | (ThingSmartWeatherOptionModel *) | optionModel | |
success: | (void(^)(NSArray< ThingSmartWeatherModel * > *)) | success | |
failure: | (ThingFailureError) | failure | |
Returns detailed parameters of home weather, such as temperature, humidity, UV index, and air quality.
optionModel can be set to nil. If so, the parameter settings of the last successful request are returned. If only one unit setting is changed for the request, the remaining parameter settings of the last successful request are returned.
The functions that are enabled by weather services can vary based on different regions. Therefore, the response parameters may differ from region to region. In particular, if the current home account is located in China, information about the wind speed and barometric pressure is not returned.
optionModel | The configurations of weather parameter units. |
success | Called when the task is finished. A list of ThingSmartWeatherModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(Weather).
- (void) getHomeWeatherDetailWithOption: | (ThingSmartWeatherOptionModel *) | optionModel | |
success: | (void(^)(NSArray< ThingSmartWeatherModel * > *)) | success | |
failure: | (ThingFailureError) | failure | |
Returns detailed parameters of home weather, such as temperature, humidity, UV index, and air quality.
optionModel can be set to nil. If so, the parameter settings of the last successful request are returned. If only one unit setting is changed for the request, the remaining parameter settings of the last successful request are returned.
The functions that are enabled by weather services can vary based on different regions. Therefore, the response parameters may differ from region to region. In particular, if the current home account is located in China, information about the wind speed and barometric pressure is not returned.
optionModel | The configurations of weather parameter units. |
success | Called when the task is finished. A list of ThingSmartWeatherModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(Weather).
- (void) getHomeWeatherDetailWithOption: | (ThingSmartWeatherOptionModel *) | optionModel | |
success: | (void(^)(NSArray< ThingSmartWeatherModel * > *)) | success | |
failure: | (ThingFailureError) | failure | |
Returns detailed parameters of home weather, such as temperature, humidity, UV index, and air quality.
optionModel can be set to nil. If so, the parameter settings of the last successful request are returned. If only one unit setting is changed for the request, the remaining parameter settings of the last successful request are returned.
The functions that are enabled by weather services can vary based on different regions. Therefore, the response parameters may differ from region to region. In particular, if the current home account is located in China, information about the wind speed and barometric pressure is not returned.
optionModel | The configurations of weather parameter units. |
success | Called when the task is finished. A list of ThingSmartWeatherModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(Weather).
- (void) getHomeWeatherDetailWithOption: | (ThingSmartWeatherOptionModel *) | optionModel | |
success: | (void(^)(NSArray< ThingSmartWeatherModel * > *)) | success | |
failure: | (ThingFailureError) | failure | |
Returns detailed parameters of home weather, such as temperature, humidity, UV index, and air quality.
optionModel can be set to nil. If so, the parameter settings of the last successful request are returned. If only one unit setting is changed for the request, the remaining parameter settings of the last successful request are returned.
The functions that are enabled by weather services can vary based on different regions. Therefore, the response parameters may differ from region to region. In particular, if the current home account is located in China, information about the wind speed and barometric pressure is not returned.
optionModel | The configurations of weather parameter units. |
success | Called when the task is finished. A list of ThingSmartWeatherModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(Weather).
- (void) getHomeWeatherSketchWithSuccess: | (void(^)(ThingSmartWeatherSketchModel *)) | success | |
failure: | (ThingFailureError) | failure | |
Returns brief weather parameters for the home. This request also returns brief weather parameters for the city where the home is located, such as the city name, weather conditions for the day (such as sunny, cloudy, and rainy), and weather picture information.
success | Called when the task is finished. ThingSmartWeatherSketchModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(Weather).
- (void) getHomeWeatherSketchWithSuccess: | (void(^)(ThingSmartWeatherSketchModel *)) | success | |
failure: | (ThingFailureError) | failure | |
Returns brief weather parameters for the home. This request also returns brief weather parameters for the city where the home is located, such as the city name, weather conditions for the day (such as sunny, cloudy, and rainy), and weather picture information.
success | Called when the task is finished. ThingSmartWeatherSketchModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(Weather).
- (void) getHomeWeatherSketchWithSuccess: | (void(^)(ThingSmartWeatherSketchModel *)) | success | |
failure: | (ThingFailureError) | failure | |
Returns brief weather parameters for the home. This request also returns brief weather parameters for the city where the home is located, such as the city name, weather conditions for the day (such as sunny, cloudy, and rainy), and weather picture information.
success | Called when the task is finished. ThingSmartWeatherSketchModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(Weather).
- (void) getHomeWeatherSketchWithSuccess: | (void(^)(ThingSmartWeatherSketchModel *)) | success | |
failure: | (ThingFailureError) | failure | |
Returns brief weather parameters for the home. This request also returns brief weather parameters for the city where the home is located, such as the city name, weather conditions for the day (such as sunny, cloudy, and rainy), and weather picture information.
success | Called when the task is finished. ThingSmartWeatherSketchModel is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(Weather).
- (void) getLoalDeviceConfigWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
get local device config info
devId | devId of local device |
success | Called when the task is finished |
failure | Called when the task is interrupted by an error |
- (void) getLoalDeviceConfigWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
get local device config info
devId | devId of local device |
success | Called when the task is finished |
failure | Called when the task is interrupted by an error |
- (void) getLoalDeviceConfigWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
get local device config info
devId | devId of local device |
success | Called when the task is finished |
failure | Called when the task is interrupted by an error |
- (void) getLoalDeviceConfigWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
get local device config info
devId | devId of local device |
success | Called when the task is finished |
failure | Called when the task is interrupted by an error |
- (void) getMeshListWithSuccess: | (void(^)(NSArray< ThingSmartBleMeshModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Returns the mesh list for the home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(BleMesh).
- (void) getMeshListWithSuccess: | (void(^)(NSArray< ThingSmartBleMeshModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Returns the mesh list for the home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(BleMesh).
- (void) getMeshListWithSuccess: | (void(^)(NSArray< ThingSmartBleMeshModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Returns the mesh list for the home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(BleMesh).
- (void) getMeshListWithSuccess: | (void(^)(NSArray< ThingSmartBleMeshModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Returns the mesh list for the home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(BleMesh).
- (void) getRoomListWithSuccess: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Get room List.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getRoomListWithSuccess: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Get room List.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getRoomListWithSuccess: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Get room List.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getRoomListWithSuccess: | (nullable ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Get room List.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) getSIGMeshListWithSuccess: | (void(^)(NSArray< ThingSmartBleMeshModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Returns the Bluetooth mesh list for the home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(SIGMesh).
- (void) getSIGMeshListWithSuccess: | (void(^)(NSArray< ThingSmartBleMeshModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Returns the Bluetooth mesh list for the home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(SIGMesh).
- (void) getSIGMeshListWithSuccess: | (void(^)(NSArray< ThingSmartBleMeshModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Returns the Bluetooth mesh list for the home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(SIGMesh).
- (void) getSIGMeshListWithSuccess: | (void(^)(NSArray< ThingSmartBleMeshModel * > *list)) | success | |
failure: | (ThingFailureError) | failure | |
Returns the Bluetooth mesh list for the home.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHome(SIGMesh).
+ (instancetype) homeWithHomeId: | (long long) | homeId |
Initializes the home.
homeId | The home ID. |
+ (instancetype) homeWithHomeId: | (long long) | homeId |
Initializes the home.
homeId | The home ID. |
+ (instancetype) homeWithHomeId: | (long long) | homeId |
Initializes the home.
homeId | The home ID. |
+ (instancetype) homeWithHomeId: | (long long) | homeId |
Initializes the home.
homeId | The home ID. |
- (void) joinFamilyWithAccept: | (BOOL) | accept | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Accepts or rejects to share the home.
accept | A Boolean value that specifies whether to accept the invitation. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) joinFamilyWithAccept: | (BOOL) | accept | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Accepts or rejects to share the home.
accept | A Boolean value that specifies whether to accept the invitation. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) joinFamilyWithAccept: | (BOOL) | accept | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Accepts or rejects to share the home.
accept | A Boolean value that specifies whether to accept the invitation. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) joinFamilyWithAccept: | (BOOL) | accept | |
success: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
Accepts or rejects to share the home.
accept | A Boolean value that specifies whether to accept the invitation. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (instancetype) NS_UNAVAILABLE |
- (instancetype) NS_UNAVAILABLE |
- (instancetype) NS_UNAVAILABLE |
- (instancetype) NS_UNAVAILABLE |
- (void) removeHomeRoomWithRoomId: | (long long) | roomId | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Remove a room
roomId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) removeHomeRoomWithRoomId: | (long long) | roomId | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Remove a room
roomId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) removeHomeRoomWithRoomId: | (long long) | roomId | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Remove a room
roomId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) removeHomeRoomWithRoomId: | (long long) | roomId | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Remove a room
roomId | The home ID. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) sortDeviceOrGroupWithOrderList: | (NSArray< NSDictionary * > *) | orderList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sorts devices and groups for the home.
orderList | The order list ["bizId": @"XXX", @"bizType": @"XXX"},@"bizId": @"XXX",@"bizType": @"XXX"}], where bizId is the device's device ID or group's group ID, device's bizType = @"6" group's bizType = @"5". |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) sortDeviceOrGroupWithOrderList: | (NSArray< NSDictionary * > *) | orderList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sorts devices and groups for the home.
orderList | The order list ["bizId": @"XXX", @"bizType": @"XXX"},@"bizId": @"XXX",@"bizType": @"XXX"}], where bizId is the device's device ID or group's group ID, device's bizType = @"6" group's bizType = @"5". |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) sortDeviceOrGroupWithOrderList: | (NSArray< NSDictionary * > *) | orderList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sorts devices and groups for the home.
orderList | The order list ["bizId": @"XXX", @"bizType": @"XXX"},@"bizId": @"XXX",@"bizType": @"XXX"}], where bizId is the device's device ID or group's group ID, device's bizType = @"6" group's bizType = @"5". |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) sortDeviceOrGroupWithOrderList: | (NSArray< NSDictionary * > *) | orderList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sorts devices and groups for the home.
orderList | The order list ["bizId": @"XXX", @"bizType": @"XXX"},@"bizId": @"XXX",@"bizType": @"XXX"}], where bizId is the device's device ID or group's group ID, device's bizType = @"6" group's bizType = @"5". |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) sortRoomList: | (NSArray< ThingSmartRoomModel * > *) | roomList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sorts the homes.
roomList | A list of homes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) sortRoomList: | (NSArray< ThingSmartRoomModel * > *) | roomList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sorts the homes.
roomList | A list of homes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) sortRoomList: | (NSArray< ThingSmartRoomModel * > *) | roomList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sorts the homes.
roomList | A list of homes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) sortRoomList: | (NSArray< ThingSmartRoomModel * > *) | roomList | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Sorts the homes.
roomList | A list of homes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) startAllWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startAllWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startAllWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startAllWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startStage1WithSuccess: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startStage1WithSuccess: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startStage1WithSuccess: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startStage1WithSuccess: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startStage2WithSuccess: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startStage2WithSuccess: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startStage2WithSuccess: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) startStage2WithSuccess: | (ThingSuccessHandler _Nullable) | success | |
failure: | (ThingFailureError _Nullable) | failure | |
Provided by category ThingSmartHome(Stage).
- (void) syncHomeDeviceListWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Synchronizes the home device list.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) syncHomeDeviceListWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Synchronizes the home device list.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) syncHomeDeviceListWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Synchronizes the home device list.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) syncHomeDeviceListWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Synchronizes the home device list.
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateHomeInfoWithName: | (NSString *) | homeName | |
geoName: | (NSString *) | geoName | |
latitude: | (double) | latitude | |
longitude: | (double) | longitude | |
rooms: | (NSArray *) | rooms | |
overWriteRoom: | (BOOL) | overWriteRoom | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Updates the home information. API version 3.0 is used.
homeName | The home name. |
geoName | The city name. |
latitude | The latitude. |
longitude | The longitude. |
rooms | The array of room names. |
overWriteRoom | NSDictionary only supports "overWriteRoom":boolean. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateHomeInfoWithName: | (NSString *) | homeName | |
geoName: | (NSString *) | geoName | |
latitude: | (double) | latitude | |
longitude: | (double) | longitude | |
rooms: | (NSArray *) | rooms | |
overWriteRoom: | (BOOL) | overWriteRoom | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Updates the home information. API version 3.0 is used.
homeName | The home name. |
geoName | The city name. |
latitude | The latitude. |
longitude | The longitude. |
rooms | The array of room names. |
overWriteRoom | NSDictionary only supports "overWriteRoom":boolean. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateHomeInfoWithName: | (NSString *) | homeName | |
geoName: | (NSString *) | geoName | |
latitude: | (double) | latitude | |
longitude: | (double) | longitude | |
rooms: | (NSArray *) | rooms | |
overWriteRoom: | (BOOL) | overWriteRoom | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Updates the home information. API version 3.0 is used.
homeName | The home name. |
geoName | The city name. |
latitude | The latitude. |
longitude | The longitude. |
rooms | The array of room names. |
overWriteRoom | NSDictionary only supports "overWriteRoom":boolean. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateHomeInfoWithName: | (NSString *) | homeName | |
geoName: | (NSString *) | geoName | |
latitude: | (double) | latitude | |
longitude: | (double) | longitude | |
rooms: | (NSArray *) | rooms | |
overWriteRoom: | (BOOL) | overWriteRoom | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Updates the home information. API version 3.0 is used.
homeName | The home name. |
geoName | The city name. |
latitude | The latitude. |
longitude | The longitude. |
rooms | The array of room names. |
overWriteRoom | NSDictionary only supports "overWriteRoom":boolean. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateHomeInfoWithName: | (NSString *) | homeName | |
geoName: | (NSString *) | geoName | |
latitude: | (double) | latitude | |
longitude: | (double) | longitude | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Updates the home information. API version 2.0 is used.
homeName | The home name. |
geoName | The city name. |
latitude | The latitude. |
longitude | The longitude. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateHomeInfoWithName: | (NSString *) | homeName | |
geoName: | (NSString *) | geoName | |
latitude: | (double) | latitude | |
longitude: | (double) | longitude | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Updates the home information. API version 2.0 is used.
homeName | The home name. |
geoName | The city name. |
latitude | The latitude. |
longitude | The longitude. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateHomeInfoWithName: | (NSString *) | homeName | |
geoName: | (NSString *) | geoName | |
latitude: | (double) | latitude | |
longitude: | (double) | longitude | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Updates the home information. API version 2.0 is used.
homeName | The home name. |
geoName | The city name. |
latitude | The latitude. |
longitude | The longitude. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateHomeInfoWithName: | (NSString *) | homeName | |
geoName: | (NSString *) | geoName | |
latitude: | (double) | latitude | |
longitude: | (double) | longitude | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Updates the home information. API version 2.0 is used.
homeName | The home name. |
geoName | The city name. |
latitude | The latitude. |
longitude | The longitude. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateReleationsWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Update releations for the home including how many rooms in the home, how many devices and groups in the room, how many groups in the mesh how many devices in the group,
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateReleationsWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Update releations for the home including how many rooms in the home, how many devices and groups in the room, how many groups in the mesh how many devices in the group,
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateReleationsWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Update releations for the home including how many rooms in the home, how many devices and groups in the room, how many groups in the mesh how many devices in the group,
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
- (void) updateReleationsWithSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
Update releations for the home including how many rooms in the home, how many devices and groups in the room, how many groups in the mesh how many devices in the group,
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
|
readnonatomicstrong |
Provided by category ThingSmartHome(BleMesh).
Definition at line 14 of file ThingSmartHome+BleMesh.h.
|
readwritenonatomicweak |
Definition at line 159 of file ThingSmartHome.h.
|
readnonatomiccopy |
Definition at line 165 of file ThingSmartHome.h.
|
readnonatomiccopy |
Definition at line 175 of file ThingSmartHome.h.
|
readnonatomiccopy |
Definition at line 169 of file ThingSmartHome.h.
|
readnonatomicassign |
Definition at line 158 of file ThingSmartHome.h.
|
readnonatomicstrong |
Definition at line 161 of file ThingSmartHome.h.
|
readnonatomiccopy |
Definition at line 167 of file ThingSmartHome.h.
|
readnonatomicstrong |
Provided by category ThingSmartHome(BleMesh).
Definition at line 12 of file ThingSmartHome+BleMesh.h.
|
readnonatomiccopy |
Definition at line 163 of file ThingSmartHome.h.
|
readnonatomiccopy |
Definition at line 171 of file ThingSmartHome.h.
|
readnonatomiccopy |
Definition at line 173 of file ThingSmartHome.h.
|
readnonatomicstrong |
Provided by category ThingSmartHome(SIGMesh).
Definition at line 14 of file ThingSmartHome+SIGMesh.h.