Core API Summary
The Agora SDK supports multiple platforms with different implementations of the API methods. The following table lists the core API methods on Android, iOS/macOS, the Web, and Windows to help you quickly understand the differences.
| Core Method | Android | iOS/macOS | Web | Windows | 
|---|---|---|---|---|
| Initialize | create | sharedEngineWithAppId | ||
| Set the Channel Profile | setChannelProfile | setChannelProfile | AgoraRTC.createClient[1] | setChannelProfile | 
| Set the Client Role | setClientRole | setClientRole | setClientRole | setClientRole | 
| Join a Channel | joinChannel | joinChannelByToken | Client.join | joinChannel | 
| Leave a Channel | leaveChannel | leaveChannel | Client.leave | leaveChannel | 
| Renew the Token | renewToken | renewToken | Client.renewToken | renewToken | 
| Enable Interoperability | enableWebSdkInteroperability | enableWebSdkInteroperability | N/A | enableWebSdkInteroperability | 
| Destroy an Instance | destroy | destroy | N/A | release | 
[1] The Agora Web SDK sets the channel profile by calling the
ClientConfigmethod inAgoraRTC.createClient, see ClientConfig.