Tuya iOS Smart Life App SDK 5.15.0
<ThingSmartBLEActiveProtocol> Protocol Reference

#import <ThingSmartBLEDeviceProtocol.h>

Inheritance diagram for <ThingSmartBLEActiveProtocol>:

Instance Methods

(void) - startActiveWithDevice:homeId:success:failure:
 
(void) - startActiveWithDevice:homeId:success:failure:
 

Detailed Description

Definition at line 43 of file ThingSmartBLEDeviceProtocol.h.

Method Documentation

◆ startActiveWithDevice:homeId:success:failure: [1/2]

- (void) startActiveWithDevice: (id< ThingSmartBLEDeviceProtocol >)  deviceInfo
homeId: (long long)  homeId
success: (nullable ThingSuccessID success
failure: (nullable ThingFailureError failure 

Activates the Bluetooth LE device.

Parameters
deviceInfoThe advertisingData model for the Bluetooth LE device.
homeIdThe ID of the current home.
successCalled when the task is finished. DeviceModel is returned.
failureCalled when the task is interrupted by an error.

◆ startActiveWithDevice:homeId:success:failure: [2/2]

- (void) startActiveWithDevice: (id< ThingSmartBLEDeviceProtocol >)  deviceInfo
homeId: (long long)  homeId
success: (nullable ThingSuccessID success
failure: (nullable ThingFailureError failure 

Activates the Bluetooth LE device.

Parameters
deviceInfoThe advertisingData model for the Bluetooth LE device.
homeIdThe ID of the current home.
successCalled when the task is finished. DeviceModel is returned.
failureCalled when the task is interrupted by an error.

The documentation for this protocol was generated from the following files: