Tuya iOS Smart Life App SDK 5.15.0
ThingODBTInductiveUnlock Class Reference

#import <ThingODBTInductiveUnlock.h>

Inheritance diagram for ThingODBTInductiveUnlock:

Instance Methods

(void) - addDelegate:
 
(void) - removeDelegate:
 
(BOOL) - checkPairedStatus:
 Get the status of device. More...
 
(void) - turnOnBTInductiveUnlock:finished:error:
 Turn on the inductive unlock. More...
 
(void) - turnOffBTInductiveUnlock:finished:error:
 Turn off the inductive unlock. More...
 
(NSUInteger) - getInductiveUnlockDistance:
 get the distance of device More...
 
(void) - setInductiveUnlockDistance:distance:finished:error:
 Set the unlock distance of device. More...
 
(void) - addDelegate:
 
(void) - removeDelegate:
 
(BOOL) - checkPairedStatus:
 Get the status of device. More...
 
(void) - turnOnBTInductiveUnlock:finished:error:
 Turn on the inductive unlock. More...
 
(void) - turnOffBTInductiveUnlock:finished:error:
 Turn off the inductive unlock. More...
 
(NSUInteger) - getInductiveUnlockDistance:
 get the distance of device More...
 
(void) - setInductiveUnlockDistance:distance:finished:error:
 Set the unlock distance of device. More...
 

Class Methods

(shared() + NS_SWIFT_NAME
 
(shared() + NS_SWIFT_NAME
 

Detailed Description

Definition at line 32 of file ThingODBTInductiveUnlock.h.

Method Documentation

◆ addDelegate: [1/2]

- (void) addDelegate: (id< ThingODBTInductiveUnlockDelegate >)  delegate

◆ addDelegate: [2/2]

- (void) addDelegate: (id< ThingODBTInductiveUnlockDelegate >)  delegate

◆ checkPairedStatus: [1/2]

- (BOOL) checkPairedStatus: (NSString *)  devId

Get the status of device.

Parameters
devIddevice id

◆ checkPairedStatus: [2/2]

- (BOOL) checkPairedStatus: (NSString *)  devId

Get the status of device.

Parameters
devIddevice id

◆ getInductiveUnlockDistance: [1/2]

- (NSUInteger) getInductiveUnlockDistance: (NSString *)  devId

get the distance of device

Parameters
devIddevice id

◆ getInductiveUnlockDistance: [2/2]

- (NSUInteger) getInductiveUnlockDistance: (NSString *)  devId

get the distance of device

Parameters
devIddevice id

◆ NS_SWIFT_NAME [1/2]

+ (shared() NS_SWIFT_NAME

◆ NS_SWIFT_NAME [2/2]

+ (shared() NS_SWIFT_NAME

◆ removeDelegate: [1/2]

- (void) removeDelegate: (id< ThingODBTInductiveUnlockDelegate >)  delegate

◆ removeDelegate: [2/2]

- (void) removeDelegate: (id< ThingODBTInductiveUnlockDelegate >)  delegate

◆ setInductiveUnlockDistance:distance:finished:error: [1/2]

- (void) setInductiveUnlockDistance: (NSString *)  devId
distance: (NSInteger)  distance
finished: (void(^)(void))  finishedBlock
error: (void(^)(NSError *error))  errorBlock 

Set the unlock distance of device.

Parameters
devIddevice id
distanceinductive unlock distance
finishedBlockunlock result
errorBlockerror message

◆ setInductiveUnlockDistance:distance:finished:error: [2/2]

- (void) setInductiveUnlockDistance: (NSString *)  devId
distance: (NSInteger)  distance
finished: (void(^)(void))  finishedBlock
error: (void(^)(NSError *error))  errorBlock 

Set the unlock distance of device.

Parameters
devIddevice id
distanceinductive unlock distance
finishedBlockunlock result
errorBlockerror message

◆ turnOffBTInductiveUnlock:finished:error: [1/2]

- (void) turnOffBTInductiveUnlock: (NSString *)  devId
finished: (void(^)(void))  finishedBlock
error: (void(^)(NSError *error))  errorBlock 

Turn off the inductive unlock.

Parameters
devIddevice id
finishedBlockunlock result
errorBlockerror message

◆ turnOffBTInductiveUnlock:finished:error: [2/2]

- (void) turnOffBTInductiveUnlock: (NSString *)  devId
finished: (void(^)(void))  finishedBlock
error: (void(^)(NSError *error))  errorBlock 

Turn off the inductive unlock.

Parameters
devIddevice id
finishedBlockunlock result
errorBlockerror message

◆ turnOnBTInductiveUnlock:finished:error: [1/2]

- (void) turnOnBTInductiveUnlock: (NSString *)  devId
finished: (void(^)(void))  finishedBlock
error: (void(^)(NSError *error))  errorBlock 

Turn on the inductive unlock.

Parameters
devIddevice id
finishedBlockunlock result
errorBlockerror message

◆ turnOnBTInductiveUnlock:finished:error: [2/2]

- (void) turnOnBTInductiveUnlock: (NSString *)  devId
finished: (void(^)(void))  finishedBlock
error: (void(^)(NSError *error))  errorBlock 

Turn on the inductive unlock.

Parameters
devIddevice id
finishedBlockunlock result
errorBlockerror message

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