Getting started with Mac SDK

  • Download or git clone the package.
  • Go to the download folder -> ZoomSDKSample
  • Place ZoomSDK folder in the same directory as ZoomSDKSample.xcodeproj

  • If you have xcode installed, launch “ZoomSDKSample.xcodeproj” – this will launch xcode with the Sample code bundled with our SDK, Sample.APP will be created in Bin/Realse folder.
  • Get the SDK key and secret from here

  • Depends on what your apps authentication option is, you might need to use the REST APIs to get the user id and user token. If your app is authenticating users with zoom user name and password, then you can ignore this step.  If not, use our APIs in your app to get the user id and usertoken or calling the REST API with a tool like Postman. The REST API “getbyemail” should provide the user id and usertoken
  • Change the domain (kZoomSDKDomain) to “zoom.us”
  • If you have a pre-scheduled meeting, get the meeting id. If not, that’s fine
  • Go to AppDelegate.m and change the following constants:
    • kZoomSDKAppKey and kZoomSDKAppSecret to the app key and secret you got from your account
    • Change the domain (kZoomSDKDomain) to “zoom.us”
    • Change the userid (kSDKUserID), usertoken (kSDKUserToken) from what you have obtained in the previous steps.
    • Define a user name (kSDKUserName) – this username will be displayed in the meeting UI (for roster)

     

  • Run the sample application and you should see the sample launching in the emulator
  • Explore the available controls and functions in AppDelegate.h file and define your application flow to use them

Our Mac SDK exposes four different services and details of how to use these services are documented in the developer guide that is bundled inside the download.

  • Auth service is used for authenticating users. Either by passing the account app key and secret or by passing the user name and password
  • Pre-Meeting service is used to schedule, edit or delete meetings
  • Meeting service is used to create scheduled or instant meetings and exposes several controller interfaces to control the meetings
  • Setting service is used to enable/disable pre-meeting controls (such as selecting a specific camera, set recording path etc.)

The app can follow the same steps for managing webinars.