What is the difference between SDK and API? Let me give you a detailed introduction:
Definition
API: Application Programming Interface
Write an application Interface, abstract concept.
OpenGL is an API.
SDK: Software Development Kit
Use a language to expose the API, provide header files, library files, tools (usually not IDE) and example.
DirectX could be an SDK.
Related recommendations: "FAQ"
Difference
Assume you want Make a WiFi video doorbell, the APP functions are:
1. Video intercom
2. APP unlock
3. Visitor screenshots
4. Motion detection
5. Trigger alarm
6. Face recognition
First, make the APIs 1-6 to form the SDK, then develop the Project File based on the SDK, make the APP, and write the Firmware firmware on the doorbell (Firmware is the doorbell's Software is the bridge between SDK and doorbell).
As shown below:
Later, you want to upgrade the doorbell and add new function 7. Iris recognition, do API-7, form a new SDK, generate new Firmware, update to the doorbell, and done .
The above is the detailed content of What is the difference between SDK and API?. For more information, please follow other related articles on the PHP Chinese website!