#import <ThingSmartFamilyBiz.h>
Definition at line 120 of file ThingSmartFamilyBiz.h.
◆ acceptJoinFamilyWithHomeId:success:failure: [1/2]
Accepting an invitation to join a family
- Parameters
-
homeId | ID of the family invited to join |
success | Success callback |
failure | Failure callback |
◆ acceptJoinFamilyWithHomeId:success:failure: [2/2]
Accepting an invitation to join a family
- Parameters
-
homeId | ID of the family invited to join |
success | Success callback |
failure | Failure callback |
◆ addFamilyWithModel:success:failure: [1/2]
Add Family
- Parameters
-
model | Request Model of Adding a Family |
success | Success callback |
failure | Failure callback |
◆ addFamilyWithModel:success:failure: [2/2]
Add Family
- Parameters
-
model | Request Model of Adding a Family |
success | Success callback |
failure | Failure callback |
◆ addObserver: [1/2]
Adding a Listener
- Parameters
-
◆ addObserver: [2/2]
Adding a Listener
- Parameters
-
◆ clearCurrentFamily [1/2]
- (void) clearCurrentFamily |
|
|
|
Empty the current family cache
◆ clearCurrentFamily [2/2]
- (void) clearCurrentFamily |
|
|
|
Empty the current family cache
◆ createDefaultFamilyWithName:success:failure: [1/2]
- (void) createDefaultFamilyWithName: |
|
(NSString *) |
name |
success: |
|
(void(^)(long long homeId)) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Creating a Default Family
- Parameters
-
name | Family name |
success | Success callback |
failure | Failure callback |
◆ createDefaultFamilyWithName:success:failure: [2/2]
- (void) createDefaultFamilyWithName: |
|
(NSString *) |
name |
success: |
|
(void(^)(long long homeId)) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Creating a Default Family
- Parameters
-
name | Family name |
success | Success callback |
failure | Failure callback |
◆ deleteFamilyWithHomeId:success:failure: [1/2]
Delete family
- Parameters
-
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ deleteFamilyWithHomeId:success:failure: [2/2]
Delete family
- Parameters
-
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ getCachedHomes [1/2]
Get a cached list of families
- Returns
- Array of homeModel @discussion Cached family data is only available after calling [ThingSmartFamilyBiz getFamilyListWithSuccess:failure:]
◆ getCachedHomes [2/2]
Get a cached list of families
- Returns
- Array of homeModel @discussion Cached family data is only available after calling [ThingSmartFamilyBiz getFamilyListWithSuccess:failure:]
◆ getCityInfo:longitude:success:failure: [1/2]
Get information about the city where your family lives
- Parameters
-
latitude | Latitude where the family is located |
longitude | Longitude where the family is located |
success | Success callback |
failure | Failure callback |
◆ getCityInfo:longitude:success:failure: [2/2]
Get information about the city where your family lives
- Parameters
-
latitude | Latitude where the family is located |
longitude | Longitude where the family is located |
success | Success callback |
failure | Failure callback |
◆ getCurrentFamily [1/2]
Get the current family model
- Returns
- homeModel of current family
◆ getCurrentFamily [2/2]
Get the current family model
- Returns
- homeModel of current family
◆ getCurrentFamilyId [1/2]
- (long long) getCurrentFamilyId |
|
|
|
Get current family ID
- Returns
- homeId
◆ getCurrentFamilyId [2/2]
- (long long) getCurrentFamilyId |
|
|
|
Get current family ID
- Returns
- homeId
◆ getFamilyDetailWithHomeId:success:failure: [1/2]
Get family details
- Parameters
-
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ getFamilyDetailWithHomeId:success:failure: [2/2]
Get family details
- Parameters
-
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ getFamilyListWithSuccess:failure: [1/2]
Get a rough list of family information
- Parameters
-
success | Success callback |
failure | Failure callback |
◆ getFamilyListWithSuccess:failure: [2/2]
Get a rough list of family information
- Parameters
-
success | Success callback |
failure | Failure callback |
◆ getHomeWeatherDetailWithHomeId:option:success:failure: [1/2]
Get detailed information about the weather in your home area
- Parameters
-
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ getHomeWeatherDetailWithHomeId:option:success:failure: [2/2]
Get detailed information about the weather in your home area
- Parameters
-
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ getHomeWeatherSketchWithHomeId:success:failure: [1/2]
Get rough information about the weather in your home area
- Parameters
-
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ getHomeWeatherSketchWithHomeId:success:failure: [2/2]
Get rough information about the weather in your home area
- Parameters
-
homeId | Family ID |
success | Success callback |
failure | Failure callback |
◆ joinFamilyWithInvitationCode:success:failure: [1/2]
Join the family by invitation code
- Parameters
-
invitationCode | Invitation code |
success | Success callback |
failure | Failure callback |
◆ joinFamilyWithInvitationCode:success:failure: [2/2]
Join the family by invitation code
- Parameters
-
invitationCode | Invitation code |
success | Success callback |
failure | Failure callback |
◆ launchCurrentFamilyWithAppGroupName: [1/2]
- (void) launchCurrentFamilyWithAppGroupName: |
|
(NSString *_Nullable) |
appGroupName |
|
Load Current Family ID
- Parameters
-
appGroupName | Set the appGroupName of the ThingCustomConfig @discussion When the app is launched, call thie method to load the last recorded current family ID |
◆ launchCurrentFamilyWithAppGroupName: [2/2]
- (void) launchCurrentFamilyWithAppGroupName: |
|
(NSString *_Nullable) |
appGroupName |
|
Load Current Family ID
- Parameters
-
appGroupName | Set the appGroupName of the ThingCustomConfig @discussion When the app is launched, call thie method to load the last recorded current family ID |
◆ leaveFamilyWithHomeId:memberId:success:failure: [1/2]
Members leaving the family
- Parameters
-
homeId | Family ID |
memberId | ID of the member to be removed |
success | Success callback |
failure | Failure callback |
◆ leaveFamilyWithHomeId:memberId:success:failure: [2/2]
Members leaving the family
- Parameters
-
homeId | Family ID |
memberId | ID of the member to be removed |
success | Success callback |
failure | Failure callback |
◆ NS_UNAVAILABLE [1/4]
+ (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [2/4]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [3/4]
+ (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [4/4]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ rejectJoinFamilyWithHomeId:success:failure: [1/2]
Declining an invitation to join a family
- Parameters
-
homeId | ID of the family invited to join |
success | Success callback |
failure | Failure callback |
◆ rejectJoinFamilyWithHomeId:success:failure: [2/2]
Declining an invitation to join a family
- Parameters
-
homeId | ID of the family invited to join |
success | Success callback |
failure | Failure callback |
◆ removeObserver: [1/2]
Removing a Listener
- Parameters
-
◆ removeObserver: [2/2]
Removing a Listener
- Parameters
-
◆ setCurrentFamilyId: [1/2]
- (void) setCurrentFamilyId: |
|
(long long) |
homeId |
|
Update the current family ID and cache to local
- Parameters
-
◆ setCurrentFamilyId: [2/2]
- (void) setCurrentFamilyId: |
|
(long long) |
homeId |
|
Update the current family ID and cache to local
- Parameters
-
◆ sharedInstance [1/2]
+ (instancetype) sharedInstance |
|
|
|
◆ sharedInstance [2/2]
+ (instancetype) sharedInstance |
|
|
|
◆ sortDeviceOrGroupWithHomeId:orderList:success:failure: [1/2]
Under-family devices, group sorting
- Parameters
-
homeId | Family ID |
orderList | Device, Group List |
success | Success callback |
failure | Failure callback |
◆ sortDeviceOrGroupWithHomeId:orderList:success:failure: [2/2]
Under-family devices, group sorting
- Parameters
-
homeId | Family ID |
orderList | Device, Group List |
success | Success callback |
failure | Failure callback |
◆ updateFamilyWithHomeId:model:success:failure: [1/2]
Update family information
- Parameters
-
homeId | Family ID |
model | Family model |
success | Success callback |
failure | Failure callback |
◆ updateFamilyWithHomeId:model:success:failure: [2/2]
Update family information
- Parameters
-
homeId | Family ID |
model | Family model |
success | Success callback |
failure | Failure callback |
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartFamilyBizKit/ThingSmartFamilyBizKit.xcframework/ios-x86_64-simulator/ThingSmartFamilyBizKit.framework/Headers/ThingSmartFamilyBiz.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartFamilyBizKit/ThingSmartFamilyBizKit.xcframework/ios-arm64/ThingSmartFamilyBizKit.framework/Headers/ThingSmartFamilyBiz.h