#import <ThingSmartHomeKitActivator.h>
◆ __attribute__ [1/2]
Returns the singleton instance of the class.
◆ __attribute__ [2/2]
Returns the singleton instance of the class.
◆ bindHomeKitDeviceWithHomeId:devIds:success:failure: [1/2]
Adds HomeKit devices to a specified home.
- Parameters
-
homeId | The home ID. |
devIds | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHomeKitActivator(Home).
◆ bindHomeKitDeviceWithHomeId:devIds:success:failure: [2/2]
Adds HomeKit devices to a specified home.
- Parameters
-
homeId | The home ID. |
devIds | A list of device IDs. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHomeKitActivator(Home).
◆ getHomekitDeviceInfoWithProductId:success:failure: [1/2]
Returns device information by product ID.
- Parameters
-
productId | The product ID. |
success | Called when the task is finished. ThingSuccessDict is returned. |
failure | Called when the task is interrupted by an error. |
◆ getHomekitDeviceInfoWithProductId:success:failure: [2/2]
Returns device information by product ID.
- Parameters
-
productId | The product ID. |
success | Called when the task is finished. ThingSuccessDict is returned. |
failure | Called when the task is interrupted by an error. |
◆ getHomekitDeviceInfoWithProductId:uuid:success:failure: [1/2]
- (void) getHomekitDeviceInfoWithProductId: |
|
(NSString *) |
productId |
uuid: |
|
(nullable NSString *) |
uuid |
success: |
|
(ThingSuccessDict) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Returns device information by product ID.
- Parameters
-
productId | The product ID. |
uuid | The device UUID. |
success | Called when the task is finished. ThingSuccessDict is returned. |
failure | Called when the task is interrupted by an error. |
◆ getHomekitDeviceInfoWithProductId:uuid:success:failure: [2/2]
- (void) getHomekitDeviceInfoWithProductId: |
|
(NSString *) |
productId |
uuid: |
|
(nullable NSString *) |
uuid |
success: |
|
(ThingSuccessDict) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Returns device information by product ID.
- Parameters
-
productId | The product ID. |
uuid | The device UUID. |
success | Called when the task is finished. ThingSuccessDict is returned. |
failure | Called when the task is interrupted by an error. |
◆ getTokenSuccess:failure: [1/2]
Returns the pairing token for HomeKit devices.
- Parameters
-
success | Called when the task is finished. ThingSuccessString is returned. |
failure | Called when the task is interrupted by an error. |
◆ getTokenSuccess:failure: [2/2]
Returns the pairing token for HomeKit devices.
- Parameters
-
success | Called when the task is finished. ThingSuccessString is returned. |
failure | Called when the task is interrupted by an error. |
◆ getTokenWithHomeID:Success:failure: [1/2]
Returns the pairing token for HomeKit devices.
- Parameters
-
homeID | The home ID. |
success | Called when the task is finished. The token is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHomeKitActivator(Home).
◆ getTokenWithHomeID:Success:failure: [2/2]
Returns the pairing token for HomeKit devices.
- Parameters
-
homeID | The home ID. |
success | Called when the task is finished. The token is returned. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartHomeKitActivator(Home).
◆ startDiscoverHomeKitDeviceWithTimeout:success:failure: [1/2]
Scans for HomeKit devices.
- Parameters
-
timeout | The timeout value. |
success | Called when the task is finished. ThingSuccessString is returned. |
failure | Called when the task is interrupted by an error. |
◆ startDiscoverHomeKitDeviceWithTimeout:success:failure: [2/2]
Scans for HomeKit devices.
- Parameters
-
timeout | The timeout value. |
success | Called when the task is finished. ThingSuccessString is returned. |
failure | Called when the task is interrupted by an error. |
◆ startDiscoverHomeKitDeviceWithTimeout:token:success:failure: [1/2]
Scans for HomeKit devices.
- Parameters
-
timeout | The timeout value. |
token | The pairing token. |
success | Called when the task is finished. ThingSmartDeviceModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ startDiscoverHomeKitDeviceWithTimeout:token:success:failure: [2/2]
Scans for HomeKit devices.
- Parameters
-
timeout | The timeout value. |
token | The pairing token. |
success | Called when the task is finished. ThingSmartDeviceModel is returned. |
failure | Called when the task is interrupted by an error. |
◆ stopDiscover [1/2]
Stops scanning for devices.
◆ stopDiscover [2/2]
Stops scanning for devices.
◆ delegate
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartActivatorCoreKit/Build/ThingSmartActivatorCoreKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartActivatorCoreKit.framework/Headers/ThingSmartHomeKitActivator.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartActivatorCoreKit/Build/ThingSmartActivatorCoreKit.xcframework/ios-arm64/ThingSmartActivatorCoreKit.framework/Headers/ThingSmartHomeKitActivator.h