Last Updated on : 2023-06-29 03:03:36download
Smart Lock SDK encapsulates the APIs to communicate with both smart locks and the cloud and accelerates lock app development.
The SDK supports the following features:
The Smart Lock SDK serves your development as an extension of Smart Life App SDK. For more information, see Preparation.
Add the following code block to the Podfile:
platform :ios, '8.0'
target 'your_target_name' do
pod "ThingSmartLockKit", "5.0.1"
end
In the root directory of your project, run pod update
to integrate with a third-party library. For more information about CocoaPods, see CocoaPods Guides.
To import header files, add the files where they are required depending on your project type.
Example for Objective-C:
#import <ThingSmartLockKit/ThingSmartLockKit.h>
Example for Swift:
import ThingSmartLockKit
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback