Home > Common Problem > What is the difference between SDK and API?

What is the difference between SDK and API?

爱喝马黛茶的安东尼
Release: 2019-06-25 17:47:25
Original
3670 people have browsed it

What is the difference between SDK and API?

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template