Tuya iOS Smart Life App SDK 5.15.0
ThingBLEStatusService Class Reference

#import <ThingBLEStatusService.h>

Inheritance diagram for ThingBLEStatusService:

Instance Methods

(id< ThingBLEDeviceInfoProtocol >) - addDeviceInfo:
 
(void) - updateDeviceInfo:state:
 
(nullable id< ThingBLEDeviceInfoProtocol >) - findDeviceInfoWithDevId:
 
(nullable id< ThingBLEDeviceInfoProtocol >) - findDeviceInfoWithUUID:
 
(nullable id< ThingBLEDeviceInfoProtocol >) - findDeviceInfoWithUUID:andMac:
 
(id< ThingBLEDeviceInfoProtocol >) - createDeviceInfoWithUUID:andMac:
 
(NSDictionary< NSString *, id< ThingBLEDeviceInfoProtocol > > *) - findAllDeviceInfo
 
(void) - offlineDevcieInfo:
 
(void) - removeDevcieInfo:
 
(void) - addReconnectDevice:forKey:
 
(ThingBLEPeripheral *) - getReconnectDeviceWithKey:
 
(void) - removeReconnectDeviceWithKey:
 
(void) - removeAllReconnectDevice
 
(void) - addOtaStatusDevice:forKey:
 
(id) - getOtaStatusDeviceWithKey:
 
(void) - removeOtaStatusDeviceWithKey:
 
(void) - removeAllOtaStatusDevice
 
(void) - addDeviceCategoryInfo:forKey:
 
(id) - getDeviceCategoryInfoWithKey:
 
(void) - removeDeviceCategoryInfoWithKey:
 
(void) - removeAllDeviceCategoryInfo
 
(void) - addPskSecurityConfigInfo:forKey:
 
(id) - getPskSecurityConfigInfoWithKey:
 
(id< ThingBLEDeviceInfoProtocol >) - addDeviceInfo:
 
(void) - updateDeviceInfo:state:
 
(nullable id< ThingBLEDeviceInfoProtocol >) - findDeviceInfoWithDevId:
 
(nullable id< ThingBLEDeviceInfoProtocol >) - findDeviceInfoWithUUID:
 
(nullable id< ThingBLEDeviceInfoProtocol >) - findDeviceInfoWithUUID:andMac:
 
(id< ThingBLEDeviceInfoProtocol >) - createDeviceInfoWithUUID:andMac:
 
(NSDictionary< NSString *, id< ThingBLEDeviceInfoProtocol > > *) - findAllDeviceInfo
 
(void) - offlineDevcieInfo:
 
(void) - removeDevcieInfo:
 
(void) - addReconnectDevice:forKey:
 
(ThingBLEPeripheral *) - getReconnectDeviceWithKey:
 
(void) - removeReconnectDeviceWithKey:
 
(void) - removeAllReconnectDevice
 
(void) - addOtaStatusDevice:forKey:
 
(id) - getOtaStatusDeviceWithKey:
 
(void) - removeOtaStatusDeviceWithKey:
 
(void) - removeAllOtaStatusDevice
 
(void) - addDeviceCategoryInfo:forKey:
 
(id) - getDeviceCategoryInfoWithKey:
 
(void) - removeDeviceCategoryInfoWithKey:
 
(void) - removeAllDeviceCategoryInfo
 
(void) - addPskSecurityConfigInfo:forKey:
 
(id) - getPskSecurityConfigInfoWithKey:
 

Properties

id< ThingBLEFindMacDelegatefindMacDelegate
 

Detailed Description

Definition at line 13 of file ThingBLEStatusService.h.

Method Documentation

◆ addDeviceCategoryInfo:forKey: [1/2]

- (void) addDeviceCategoryInfo: (id)  categoryInfo
forKey: (NSString *)  key 

◆ addDeviceCategoryInfo:forKey: [2/2]

- (void) addDeviceCategoryInfo: (id)  categoryInfo
forKey: (NSString *)  key 

◆ addDeviceInfo: [1/2]

- (id< ThingBLEDeviceInfoProtocol >) addDeviceInfo: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo

◆ addDeviceInfo: [2/2]

- (id< ThingBLEDeviceInfoProtocol >) addDeviceInfo: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo

◆ addOtaStatusDevice:forKey: [1/2]

- (void) addOtaStatusDevice: (id)  anObject
forKey: (NSString *)  key 

◆ addOtaStatusDevice:forKey: [2/2]

- (void) addOtaStatusDevice: (id)  anObject
forKey: (NSString *)  key 

◆ addPskSecurityConfigInfo:forKey: [1/2]

- (void) addPskSecurityConfigInfo: (id)  securityConfigInfo
forKey: (NSString *)  key 

◆ addPskSecurityConfigInfo:forKey: [2/2]

- (void) addPskSecurityConfigInfo: (id)  securityConfigInfo
forKey: (NSString *)  key 

◆ addReconnectDevice:forKey: [1/2]

- (void) addReconnectDevice: (ThingBLEPeripheral *)  peripheral
forKey: (NSString *)  key 

◆ addReconnectDevice:forKey: [2/2]

- (void) addReconnectDevice: (ThingBLEPeripheral *)  peripheral
forKey: (NSString *)  key 

◆ createDeviceInfoWithUUID:andMac: [1/2]

- (id< ThingBLEDeviceInfoProtocol >) createDeviceInfoWithUUID: (NSString *)  uuid
andMac: (nullable NSString *)  mac 

Create ThingBLEDeviceInfoProtocol Model

Parameters
uuiduuid
macmac id

◆ createDeviceInfoWithUUID:andMac: [2/2]

- (id< ThingBLEDeviceInfoProtocol >) createDeviceInfoWithUUID: (NSString *)  uuid
andMac: (nullable NSString *)  mac 

Create ThingBLEDeviceInfoProtocol Model

Parameters
uuiduuid
macmac id

◆ findAllDeviceInfo [1/2]

- (NSDictionary< NSString *, id< ThingBLEDeviceInfoProtocol > > *) findAllDeviceInfo

◆ findAllDeviceInfo [2/2]

- (NSDictionary< NSString *, id< ThingBLEDeviceInfoProtocol > > *) findAllDeviceInfo

◆ findDeviceInfoWithDevId: [1/2]

- (nullable id< ThingBLEDeviceInfoProtocol >) findDeviceInfoWithDevId: (NSString *)  devId

只能查询在线的设备,离线的设备可能返回nil

  • Parameter devId: devId

◆ findDeviceInfoWithDevId: [2/2]

- (nullable id< ThingBLEDeviceInfoProtocol >) findDeviceInfoWithDevId: (NSString *)  devId

只能查询在线的设备,离线的设备可能返回nil

  • Parameter devId: devId

◆ findDeviceInfoWithUUID: [1/2]

- (nullable id< ThingBLEDeviceInfoProtocol >) findDeviceInfoWithUUID: (NSString *)  uuid

◆ findDeviceInfoWithUUID: [2/2]

- (nullable id< ThingBLEDeviceInfoProtocol >) findDeviceInfoWithUUID: (NSString *)  uuid

◆ findDeviceInfoWithUUID:andMac: [1/2]

- (nullable id< ThingBLEDeviceInfoProtocol >) findDeviceInfoWithUUID: (NSString *)  uuid
andMac: (nullable NSString *)  mac 

◆ findDeviceInfoWithUUID:andMac: [2/2]

- (nullable id< ThingBLEDeviceInfoProtocol >) findDeviceInfoWithUUID: (NSString *)  uuid
andMac: (nullable NSString *)  mac 

◆ getDeviceCategoryInfoWithKey: [1/2]

- (id) getDeviceCategoryInfoWithKey: (NSString *)  key

◆ getDeviceCategoryInfoWithKey: [2/2]

- (id) getDeviceCategoryInfoWithKey: (NSString *)  key

◆ getOtaStatusDeviceWithKey: [1/2]

- (id) getOtaStatusDeviceWithKey: (NSString *)  key

◆ getOtaStatusDeviceWithKey: [2/2]

- (id) getOtaStatusDeviceWithKey: (NSString *)  key

◆ getPskSecurityConfigInfoWithKey: [1/2]

- (id) getPskSecurityConfigInfoWithKey: (NSString *)  key

◆ getPskSecurityConfigInfoWithKey: [2/2]

- (id) getPskSecurityConfigInfoWithKey: (NSString *)  key

◆ getReconnectDeviceWithKey: [1/2]

- (ThingBLEPeripheral *) getReconnectDeviceWithKey: (NSString *)  key

◆ getReconnectDeviceWithKey: [2/2]

- (ThingBLEPeripheral *) getReconnectDeviceWithKey: (NSString *)  key

◆ offlineDevcieInfo: [1/2]

- (void) offlineDevcieInfo: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo

◆ offlineDevcieInfo: [2/2]

- (void) offlineDevcieInfo: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo

◆ removeAllDeviceCategoryInfo [1/2]

- (void) removeAllDeviceCategoryInfo

◆ removeAllDeviceCategoryInfo [2/2]

- (void) removeAllDeviceCategoryInfo

◆ removeAllOtaStatusDevice [1/2]

- (void) removeAllOtaStatusDevice

◆ removeAllOtaStatusDevice [2/2]

- (void) removeAllOtaStatusDevice

◆ removeAllReconnectDevice [1/2]

- (void) removeAllReconnectDevice

◆ removeAllReconnectDevice [2/2]

- (void) removeAllReconnectDevice

◆ removeDevcieInfo: [1/2]

- (void) removeDevcieInfo: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo

◆ removeDevcieInfo: [2/2]

- (void) removeDevcieInfo: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo

◆ removeDeviceCategoryInfoWithKey: [1/2]

- (void) removeDeviceCategoryInfoWithKey: (NSString *)  key

◆ removeDeviceCategoryInfoWithKey: [2/2]

- (void) removeDeviceCategoryInfoWithKey: (NSString *)  key

◆ removeOtaStatusDeviceWithKey: [1/2]

- (void) removeOtaStatusDeviceWithKey: (NSString *)  key

◆ removeOtaStatusDeviceWithKey: [2/2]

- (void) removeOtaStatusDeviceWithKey: (NSString *)  key

◆ removeReconnectDeviceWithKey: [1/2]

- (void) removeReconnectDeviceWithKey: (NSString *)  key

◆ removeReconnectDeviceWithKey: [2/2]

- (void) removeReconnectDeviceWithKey: (NSString *)  key

◆ updateDeviceInfo:state: [1/2]

- (void) updateDeviceInfo: (NSString *)  uuid
state: (ThingSmartBLEDeviceState state 

◆ updateDeviceInfo:state: [2/2]

- (void) updateDeviceInfo: (NSString *)  uuid
state: (ThingSmartBLEDeviceState state 

Property Documentation

◆ findMacDelegate

- (id< ThingBLEFindMacDelegate >) findMacDelegate
readwritenonatomicweak

Definition at line 15 of file ThingBLEStatusService.h.


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