## Overview
The Agora Classroom SDK for iOS enables developers to easily integrate interactive audio and video capabilities into their education apps. With this SDK, you can create virtual classrooms, conduct live lectures, facilitate real-time communication between teachers and students, and much more.
## Features
### 1. Real-time Audio and Video Conferencing
The Agora Classroom SDK allows for seamless real-time audio and video communication between multiple participants. Teachers and students can interact with each other through high-quality video and crystal-clear audio, enhancing the remote learning experience.
### 2. Interactive Whiteboard
The interactive whiteboard feature enables teachers to draw and write in real-time, enhancing the virtual classroom experience. Teachers can share their screens with students and annotate on the shared content, making lessons more engaging and interactive.
### 3. Screen Sharing
With screen sharing, teachers can share their screens with students, allowing them to demonstrate software applications, presentations, and other educational materials. This feature enables teachers to deliver effective and interactive lessons, regardless of the distance.
### 4. Chat and Messaging
The Agora Classroom SDK provides built-in chat and messaging capabilities, allowing teachers and students to communicate through text messages during live lectures or virtual classroom sessions. This feature enhances collaboration and facilitates quick and easy communication.
### 5. Recording and Playback
The SDK offers the ability to record classroom sessions, lectures, or meetings. Teachers can record their sessions and make them available for later playback, ensuring that students who missed the live session can catch up on the content at their convenience.
## Integration Guide
### Prerequisites
Before integrating the Agora Classroom SDK into your iOS app, make sure you have the following prerequisites:
1. Xcode 10 or later
2. An Agora developer account (sign up at https://console.agora.io/)
3. Cocoapods dependency manager
### Installation
To integrate the Agora Classroom SDK into your iOS app, follow these steps:
1. Open your project in Xcode.
2. Add the following line to your Podfile:
“`
pod ‘AgoraClassroomSDK’
“`
3. Run `pod install` in the terminal at the project directory.
4. Open your project using the `.xcworkspace` file.
### Setting up Agora Classroom SDK
To set up the Agora Classroom SDK, follow these instructions:
1. Import the Agora Classroom SDK module:
“`
import AgoraRtcKit
import AgoraEduSDK
“`
2. Initialize the AgoraRtcEngine:
“`
let agoraKit = AgoraRtcEngineKit.sharedEngine(withAppId: “YOUR_APP_ID”, delegate: .none)
“`
3. Initialize the AgoraEduManager:
“`
let eduManager = AgoraEduManager.shareInstance(withAppId: “YOUR_APP_ID”, customerCertificate: “YOUR_CUSTOMER_CERTIFICATE”)
“`
### Joining a Virtual Classroom
To join a virtual classroom, use the `joinClassroom` method of the AgoraEduManager:
“`
eduManager.joinClassroom(roomUuid: “CLASSROOM_UUID”, roomType: .interactive, userName: “YOUR_USER_NAME”) { (result, error) in
if let error = error {
print(“Join classroom failed: \(error.localizedDescription)”)
} else {
print(“Join classroom success”)
}
}
“`
### Additional Features
The Agora Classroom SDK offers various additional features for customization and enhancing the e-learning experience. These features include:
– Camera and microphone control
– Audio and video settings
– Teacher/student role management
– Network quality detection
– and more
Please refer to the official documentation for detailed information on these features and their implementation.
By integrating the Agora Classroom SDK into your iOS app, you can provide an interactive and immersive learning experience to your users, enabling distance education with seamless audio and video communication, collaboration, and content sharing. Whether it’s for virtual classrooms, online tutoring, or remote training, the Agora Classroom SDK empowers your app with real-time interactive capabilities.
Start building your educational app with Agora today!