public class ZoomSDK
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDomain()
Get Zoom site domain name
|
static ZoomSDK |
getInstance()
Get shared instance of ZoomSDK
|
MeetingService |
getMeetingService()
Get MeetingService instance
|
MeetingSettingsHelper |
getMeetingSettingsHelper()
Get MeetingSettingsHelper instance
|
java.lang.String |
getPreferenceKeyIsAppVerified() |
java.lang.String |
getPreferenceKeyLastVerifiedAppKey() |
java.lang.String |
getPreferenceKeyLastVerifiedAppSecret() |
java.lang.String |
getVersion(Context context) |
void |
initialize(Context context,
java.lang.String appKey,
java.lang.String appSecret,
boolean autoRetryVerifyApp,
ZoomSDKInitializeListener listener)
Initialize ZoomSDK
|
void |
initialize(Context context,
java.lang.String appKey,
java.lang.String appSecret,
java.lang.String domain,
boolean autoRetryVerifyApp,
ZoomSDKInitializeListener listener)
Initialize ZoomSDK
|
void |
initialize(Context context,
java.lang.String appKey,
java.lang.String appSecret,
java.lang.String domain,
ZoomSDKInitializeListener listener)
Initialize ZoomSDK
Zoom SDK will retry to call verifyApp automatically if failed because of network issue
|
void |
initialize(Context context,
java.lang.String appKey,
java.lang.String appSecret,
ZoomSDKInitializeListener listener)
Initialize ZoomSDK
Zoom SDK will retry to call verifyApp automatically if failed because of network issue.
|
boolean |
isDeviceSupported(Context context) |
boolean |
isInitialized()
Check if ZoomSDK has been initialized
|
boolean |
setBoxAppKeyPair(Context context,
java.lang.String appKey,
java.lang.String appSecret)
Box App key pair must be set to enable "Share Box".
|
void |
setDomain(java.lang.String domain)
Set Zoom site domain name
|
boolean |
setDropBoxAppKeyPair(Context context,
java.lang.String appKey,
java.lang.String appSecret)
DropBox App key pair must be set to enable "Share Dropbox".
|
boolean |
setGoogleDriveClientId(Context context,
java.lang.String clientId)
Google Drive client ID must be set to enable "Share Google Drive".
|
boolean |
setOneDriveClientId(Context context,
java.lang.String clientId)
OneDrive client ID must be set to enable "Share OneDrive".
|
void |
verifyApp(java.lang.String appKey,
java.lang.String appSecret,
boolean autoRetryVerifyApp)
Verify the application.
|
public static ZoomSDK getInstance()
public void initialize(Context context, java.lang.String appKey, java.lang.String appSecret, ZoomSDKInitializeListener listener)
context
- Android contextappKey
- Your APP Key from zoom.usappSecret
- Your APP Secret from zoom.uslistener
- Listener for initialize resultpublic void initialize(Context context, java.lang.String appKey, java.lang.String appSecret, boolean autoRetryVerifyApp, ZoomSDKInitializeListener listener)
context
- Android contextappKey
- Your APP Key from zoom.usappSecret
- Your APP Secret from zoom.usautoRetryVerifyApp
- If it is true, Zoom SDK will retry to call verifyApp automatically if failed
because of network issue. Else user needs to call verifyApp manually after initialize failed.listener
- Listener for initialize resultpublic void initialize(Context context, java.lang.String appKey, java.lang.String appSecret, java.lang.String domain, ZoomSDKInitializeListener listener)
context
- Android contextappKey
- Your APP Key from zoom.usappSecret
- Your APP Secret from zoom.usdomain
- Zoom site domain name. Default value is zoom.uslistener
- Listener for initialize resultpublic void initialize(Context context, java.lang.String appKey, java.lang.String appSecret, java.lang.String domain, boolean autoRetryVerifyApp, ZoomSDKInitializeListener listener)
context
- Android contextappKey
- Your APP Key from zoom.usappSecret
- Your APP Secret from zoom.usdomain
- Zoom site domain name. Default value is zoom.usautoRetryVerifyApp
- If it is true, Zoom SDK will retry to call verifyApp automatically if failed
because of network issue. Else user needs to call verifyApp manually after initialize failed.listener
- Listener for initialize resultpublic java.lang.String getVersion(Context context)
public boolean isDeviceSupported(Context context)
public void verifyApp(java.lang.String appKey, java.lang.String appSecret, boolean autoRetryVerifyApp)
initialize
being called.appKey
- Your APP Key from zoom.usappSecret
- Your APP Secret from zoom.usautoRetryVerifyApp
- If it is true, Zoom SDK will retry to call verifyApp automatically if failed
because of network issue. Else user needs to call verifyApp manually after initialize failed.public boolean isInitialized()
public void setDomain(java.lang.String domain)
domain
- The Zoom site domain name to set. Default value is zoom.us.public java.lang.String getDomain()
public boolean setDropBoxAppKeyPair(Context context, java.lang.String appKey, java.lang.String appSecret)
You can register your application on DropBox and get your app key pair from: https://www.dropbox.com/developers/appscontext
- appKey
- appSecret
- public boolean setOneDriveClientId(Context context, java.lang.String clientId)
context
- clientId
- public boolean setBoxAppKeyPair(Context context, java.lang.String appKey, java.lang.String appSecret)
You can register your application on Box and get your app key pair from: https://developers.box.comcontext
- appKey
- appSecret
- public boolean setGoogleDriveClientId(Context context, java.lang.String clientId)
context
- clientId
- public MeetingService getMeetingService()
public MeetingSettingsHelper getMeetingSettingsHelper()
public java.lang.String getPreferenceKeyLastVerifiedAppSecret()
public java.lang.String getPreferenceKeyLastVerifiedAppKey()
public java.lang.String getPreferenceKeyIsAppVerified()
Copyright © 2012-2014 Zoom Video Communications, Inc. All Rights Reserved.