#import <ThingSmartPegasusActivator.h>
◆ cancelActivatorWithDevIDs:UUIDs:success:failure: [1/2]
Cancels the Pegasus-based pairing of devices.
- Parameters
-
| devIDs | A list of devices that support Pegasus. |
| UUIDs | A list of UUIDs of devices to be paired. |
| success | Called when the task is finished. |
| failure | Called when the task is interrupted by an error. |
◆ cancelActivatorWithDevIDs:UUIDs:success:failure: [2/2]
Cancels the Pegasus-based pairing of devices.
- Parameters
-
| devIDs | A list of devices that support Pegasus. |
| UUIDs | A list of UUIDs of devices to be paired. |
| success | Called when the task is finished. |
| failure | Called when the task is interrupted by an error. |
◆ pegasusDeviceListWithHomeID: [1/2]
◆ pegasusDeviceListWithHomeID: [2/2]
◆ startActivatorWithDevIDs:UUIDs:token:timeout:success:failure: [1/2]
Pairs specified devices by using Pegasus.
- Parameters
-
| devIDs | A list of devices that support Pegasus. |
| UUIDs | A list of UUIDs of devices to be configured. |
| token | The pairing token. |
| timeout | The timeout value. Unit: seconds. Default value: 100. |
| success | Called when the task is finished. |
| failure | Called when the task is interrupted by an error. |
◆ startActivatorWithDevIDs:UUIDs:token:timeout:success:failure: [2/2]
Pairs specified devices by using Pegasus.
- Parameters
-
| devIDs | A list of devices that support Pegasus. |
| UUIDs | A list of UUIDs of devices to be configured. |
| token | The pairing token. |
| timeout | The timeout value. Unit: seconds. Default value: 100. |
| success | Called when the task is finished. |
| failure | Called when the task is interrupted by an error. |
◆ startDiscoverWithDevIDs:serverTimeout:clientTimeout:success:failure: [1/2]
| - (void) startDiscoverWithDevIDs: |
|
(NSArray< NSString * > *) |
devIDs |
| serverTimeout: |
|
(NSTimeInterval) |
serverTimeout |
| clientTimeout: |
|
(NSTimeInterval) |
clientTimeout |
| success: |
|
(ThingSuccessHandler) |
success |
| failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Starts to scan for and pair devices by using Pegasus.
- Parameters
-
| devIDs | A list of device IDs. |
| serverTimeout | The timeout value for paired devices to scan for devices to be paired. |
| clientTimeout | The timeout value for devices to be paired. These devices are not added to the home. |
| success | Called when the task is finished. |
| failure | Called when the task is interrupted by an error. |
◆ startDiscoverWithDevIDs:serverTimeout:clientTimeout:success:failure: [2/2]
| - (void) startDiscoverWithDevIDs: |
|
(NSArray< NSString * > *) |
devIDs |
| serverTimeout: |
|
(NSTimeInterval) |
serverTimeout |
| clientTimeout: |
|
(NSTimeInterval) |
clientTimeout |
| success: |
|
(ThingSuccessHandler) |
success |
| failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Starts to scan for and pair devices by using Pegasus.
- Parameters
-
| devIDs | A list of device IDs. |
| serverTimeout | The timeout value for paired devices to scan for devices to be paired. |
| clientTimeout | The timeout value for devices to be paired. These devices are not added to the home. |
| success | Called when the task is finished. |
| failure | Called when the task is interrupted by an error. |
◆ stopDiscoverWithDevIDs:success:failure: [1/2]
Stops pairing devices by Pegasus after devices are paired.
- Parameters
-
| devIDs | A list of devices that support Pegasus. |
| success | Called when the task is finished. |
| failure | Called when the task is interrupted by an error. |
◆ stopDiscoverWithDevIDs:success:failure: [2/2]
Stops pairing devices by Pegasus after devices are paired.
- Parameters
-
| devIDs | A list of devices that support Pegasus. |
| success | Called when the task is finished. |
| failure | Called when the task is interrupted by an error. |
◆ 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/ThingSmartPegasusActivator.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartActivatorCoreKit/Build/ThingSmartActivatorCoreKit.xcframework/ios-arm64/ThingSmartActivatorCoreKit.framework/Headers/ThingSmartPegasusActivator.h