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

#import <ThingSmartBLEDeviceProtocol.h>

Inheritance diagram for <ThingSmartBLEDeviceProtocol>:

Instance Methods

(instancetype) - initWithActiveManager:configManager:
 
(instancetype) - initWithActiveManager:configManager:
 

Properties

ThingBLEAgentagent
 The Thing Bluetooth LE agent. More...
 
ThingBLEPeripheralperipheral
 The Thing Bluetooth LE peripheral. More...
 
ThingBLEAdvModeladvModel
 The Thing Bluetooth LE advertising model. More...
 
id< ThingSmartBLEActiveProtocolactiveManager
 The Thing active protocol-based manager object. More...
 
id< ThingSmartBLEConfigProtocolconfigManager
 The Thing config protocol-based manager object. More...
 

Detailed Description

Definition at line 174 of file ThingSmartBLEDeviceProtocol.h.

Method Documentation

◆ initWithActiveManager:configManager: [1/2]

- (instancetype) initWithActiveManager: (id< ThingSmartBLEActiveProtocol >)  activeManager
configManager: (id< ThingSmartBLEConfigProtocol >)  configManager 
optional

The methods to initialize ThingSmartBLEDeviceProtocol-based device objects.

Parameters
activeManagerThe Thing active protocol-based manager object.
configManagerThe Thing config protocol-based manager object.

◆ initWithActiveManager:configManager: [2/2]

- (instancetype) initWithActiveManager: (id< ThingSmartBLEActiveProtocol >)  activeManager
configManager: (id< ThingSmartBLEConfigProtocol >)  configManager 
optional

The methods to initialize ThingSmartBLEDeviceProtocol-based device objects.

Parameters
activeManagerThe Thing active protocol-based manager object.
configManagerThe Thing config protocol-based manager object.

Property Documentation

◆ activeManager

- (id<ThingSmartBLEActiveProtocol>) activeManager
readwritenonatomicstrong

The Thing active protocol-based manager object.

Definition at line 186 of file ThingSmartBLEDeviceProtocol.h.

◆ advModel

- (ThingBLEAdvModel*) advModel
readwritenonatomicstrong

The Thing Bluetooth LE advertising model.

Definition at line 183 of file ThingSmartBLEDeviceProtocol.h.

◆ agent

- (ThingBLEAgent*) agent
readwritenonatomicstrong

The Thing Bluetooth LE agent.

Definition at line 177 of file ThingSmartBLEDeviceProtocol.h.

◆ configManager

- (id<ThingSmartBLEConfigProtocol>) configManager
readwritenonatomicstrong

The Thing config protocol-based manager object.

Definition at line 189 of file ThingSmartBLEDeviceProtocol.h.

◆ peripheral

- (ThingBLEPeripheral*) peripheral
readwriteatomicstrong

The Thing Bluetooth LE peripheral.

Definition at line 180 of file ThingSmartBLEDeviceProtocol.h.


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