#import <ThingSmartHomeManager.h>
Definition at line 38 of file ThingSmartHomeManager.h.
◆ addHomeWithName:geoName:rooms:latitude:longitude:success:failure: [1/4]
- (void) addHomeWithName: |
|
(NSString *) |
homeName |
geoName: |
|
(NSString *) |
geoName |
rooms: |
|
(NSArray< NSString * > *) |
rooms |
latitude: |
|
(double) |
latitude |
longitude: |
|
(double) |
longitude |
success: |
|
(ThingSuccessLongLong) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Adds a home.
- Parameters
-
homeName | The home name. |
geoName | The city name. |
rooms | The rooms list. |
latitude | The latitude. |
longitude | The longitude. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addHomeWithName:geoName:rooms:latitude:longitude:success:failure: [2/4]
- (void) addHomeWithName: |
|
(NSString *) |
homeName |
geoName: |
|
(NSString *) |
geoName |
rooms: |
|
(NSArray< NSString * > *) |
rooms |
latitude: |
|
(double) |
latitude |
longitude: |
|
(double) |
longitude |
success: |
|
(ThingSuccessLongLong) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Adds a home.
- Parameters
-
homeName | The home name. |
geoName | The city name. |
rooms | The rooms list. |
latitude | The latitude. |
longitude | The longitude. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addHomeWithName:geoName:rooms:latitude:longitude:success:failure: [3/4]
- (void) addHomeWithName: |
|
(NSString *) |
homeName |
geoName: |
|
(NSString *) |
geoName |
rooms: |
|
(NSArray< NSString * > *) |
rooms |
latitude: |
|
(double) |
latitude |
longitude: |
|
(double) |
longitude |
success: |
|
(ThingSuccessLongLong) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Adds a home.
- Parameters
-
homeName | The home name. |
geoName | The city name. |
rooms | The rooms list. |
latitude | The latitude. |
longitude | The longitude. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ addHomeWithName:geoName:rooms:latitude:longitude:success:failure: [4/4]
- (void) addHomeWithName: |
|
(NSString *) |
homeName |
geoName: |
|
(NSString *) |
geoName |
rooms: |
|
(NSArray< NSString * > *) |
rooms |
latitude: |
|
(double) |
latitude |
longitude: |
|
(double) |
longitude |
success: |
|
(ThingSuccessLongLong) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Adds a home.
- Parameters
-
homeName | The home name. |
geoName | The city name. |
rooms | The rooms list. |
latitude | The latitude. |
longitude | The longitude. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ getHomeListWithSuccess:failure: [1/4]
Returns a list of homes. To get home details, initialize a home and call getHomeDetailWithSuccess: failure:.
- Parameters
-
success | Called when the task is finished. A list of ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getHomeListWithSuccess:failure: [2/4]
Returns a list of homes. To get home details, initialize a home and call getHomeDetailWithSuccess: failure:.
- Parameters
-
success | Called when the task is finished. A list of ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getHomeListWithSuccess:failure: [3/4]
Returns a list of homes. To get home details, initialize a home and call getHomeDetailWithSuccess: failure:.
- Parameters
-
success | Called when the task is finished. A list of ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ getHomeListWithSuccess:failure: [4/4]
Returns a list of homes. To get home details, initialize a home and call getHomeDetailWithSuccess: failure:.
- Parameters
-
success | Called when the task is finished. A list of ThingSmartHomeModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ hasHomeCache: [1/4]
- (BOOL) hasHomeCache: |
|
(long long) |
homeId |
|
◆ hasHomeCache: [2/4]
- (BOOL) hasHomeCache: |
|
(long long) |
homeId |
|
◆ hasHomeCache: [3/4]
- (BOOL) hasHomeCache: |
|
(long long) |
homeId |
|
◆ hasHomeCache: [4/4]
- (BOOL) hasHomeCache: |
|
(long long) |
homeId |
|
◆ joinFamilyWithHomeId:action:success:failure: [1/4]
- (void) joinFamilyWithHomeId: |
|
(long long) |
homeId |
action: |
|
(BOOL) |
isAccept |
success: |
|
(ThingSuccessBOOL) |
success |
failure: |
|
("This method is) |
deprecated |
|
|
(Use - instead") |
__deprecated_msg[ThingSmartHome -(void) joinFamilyWithAccept:success:failure:] |
|
|
| |
◆ joinFamilyWithHomeId:action:success:failure: [2/4]
- (void) joinFamilyWithHomeId: |
|
(long long) |
homeId |
action: |
|
(BOOL) |
isAccept |
success: |
|
(ThingSuccessBOOL) |
success |
failure: |
|
("This method is) |
deprecated |
|
|
(Use - instead") |
__deprecated_msg[ThingSmartHome -(void) joinFamilyWithAccept:success:failure:] |
|
|
| |
◆ joinFamilyWithHomeId:action:success:failure: [3/4]
- (void) joinFamilyWithHomeId: |
|
(long long) |
homeId |
action: |
|
(BOOL) |
isAccept |
success: |
|
(ThingSuccessBOOL) |
success |
failure: |
|
("This method is) |
deprecated |
|
|
(Use - instead") |
__deprecated_msg[ThingSmartHome -(void) joinFamilyWithAccept:success:failure:] |
|
|
| |
◆ joinFamilyWithHomeId:action:success:failure: [4/4]
- (void) joinFamilyWithHomeId: |
|
(long long) |
homeId |
action: |
|
(BOOL) |
isAccept |
success: |
|
(ThingSuccessBOOL) |
success |
failure: |
|
("This method is) |
deprecated |
|
|
(Use - instead") |
__deprecated_msg[ThingSmartHome -(void) joinFamilyWithAccept:success:failure:] |
|
|
| |
◆ sortHomeList:success:failure: [1/4]
Sorts the homes.
- Parameters
-
homeList | A list of homes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ sortHomeList:success:failure: [2/4]
Sorts the homes.
- Parameters
-
homeList | A list of homes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ sortHomeList:success:failure: [3/4]
Sorts the homes.
- Parameters
-
homeList | A list of homes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ sortHomeList:success:failure: [4/4]
Sorts the homes.
- Parameters
-
homeList | A list of homes. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
◆ waitLoadCacheComplete: [1/4]
- (void) waitLoadCacheComplete: |
|
(void(^)(BOOL complete)) |
blcok |
|
等待缓存初始化完成,如果已经加载过,直接返回成功,如果正在加载中,则等待加载完成,如果还未初始化缓存,则直接返回NO
◆ waitLoadCacheComplete: [2/4]
- (void) waitLoadCacheComplete: |
|
(void(^)(BOOL complete)) |
blcok |
|
等待缓存初始化完成,如果已经加载过,直接返回成功,如果正在加载中,则等待加载完成,如果还未初始化缓存,则直接返回NO
◆ waitLoadCacheComplete: [3/4]
- (void) waitLoadCacheComplete: |
|
(void(^)(BOOL complete)) |
blcok |
|
等待缓存初始化完成,如果已经加载过,直接返回成功,如果正在加载中,则等待加载完成,如果还未初始化缓存,则直接返回NO
◆ waitLoadCacheComplete: [4/4]
- (void) waitLoadCacheComplete: |
|
(void(^)(BOOL complete)) |
blcok |
|
等待缓存初始化完成,如果已经加载过,直接返回成功,如果正在加载中,则等待加载完成,如果还未初始化缓存,则直接返回NO
◆ delegate
◆ homes
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartDeviceKit.framework/Headers/ThingSmartHomeManager.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/watchos-arm64_i386_x86_64-simulator/ThingSmartDeviceKit.framework/Headers/ThingSmartHomeManager.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/ios-arm64/ThingSmartDeviceKit.framework/Headers/ThingSmartHomeManager.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartDeviceKit/Build/ThingSmartDeviceKit.xcframework/watchos-arm64_arm64_32_armv7k/ThingSmartDeviceKit.framework/Headers/ThingSmartHomeManager.h