Added

  • New interfaces and callback to support invite by phone

    • New interfaces in ZoomVideoSDKPhoneHelper.h:

      - (BOOL)isSupportPhoneFeature;
      - (NSArray <ZoomVideoSDKPhoneSupportCountryInfo *>* _Nullable)getSupportCountryInfo;
      - (ZoomVideoSDKERROR)inviteByPhone:(NSString *_Nonnull)countryCode phoneNumber:(NSString *_Nonnull)phoneNumber name:(NSString *_Nonnull)name;
      - (ZoomVideoSDKERROR)cancelInviteByPhone;
      - (ZoomVideoSDKPhoneStatus)getInviteByPhoneStatus;
    • New interfaces in ZoomVideoSDKPhoneHelper.h ZoomVideoSDKPhoneSupportCountryInfo object´╝Ü

      @property (nonatomic, strong) NSString     * _Nullable countryID;
      @property (nonatomic, strong) NSString     * _Nullable countryName;
      @property (nonatomic, strong) NSString     * _Nullable countryCode;
    • New statuses in ZoomVideoSDKConstants.h:

      typedef NS_ENUM(NSUInteger, ZoomVideoSDKPhoneFailedReason) {
                  ZoomVideoSDKPhoneFailedReason_None,
                  ZoomVideoSDKPhoneFailedReason_Busy,
                  ZoomVideoSDKPhoneFailedReason_Not_Available,
                  ZoomVideoSDKPhoneFailedReason_User_Hangup,
                  ZoomVideoSDKPhoneFailedReason_Other_Fail,
                  ZoomVideoSDKPhoneFailedReason_No_Answer,
                  ZoomVideoSDKPhoneFailedReason_Block_No_Host,
                  ZoomVideoSDKPhoneFailedReason_Block_High_Rate,
                  ZoomVideoSDKPhoneFailedReason_Block_Too_Frequent,
              };
      
      typedef NS_ENUM(NSUInteger, ZoomVideoSDKRecordingStatus) {
                  ZoomVideoSDKRecordingStatus_None,
                  ZoomVideoSDKRecordingStatus_Start,
                  ZoomVideoSDKRecordingStatus_Stop,
                  ZoomVideoSDKRecordingStatus_DiskFull,
                  ZoomVideoSDKRecordingStatus_Pause,
              };
    • New interface in ZoomVideoSDK.h:

      - (ZoomVideoSDKPhoneHelper * _Nonnull)getPhoneHelper;
    • New callback in ZoomVideoSDKDelegate.h:

      - (void)onInviteByPhoneStatus:(ZoomVideoSDKPhoneStatus)status failReason:(ZoomVideoSDKPhoneFailedReason)failReason;
  • New error code to help troubleshooting join session issues

    • New error codes in `ZoomVideoSDKConstants.h`:

      Errors_JoinSession_NoSessionName = 1500,
      Errors_JoinSession_NoSessionToken,
      Errors_JoinSession_NoUserName,
      Errors_JoinSession_Invalid_SessionName,
      Errors_JoinSession_Invalid_Password,
      Errors_JoinSession_Invalid_SessionToken,
      Errors_JoinSession_SessionName_TooLong,
      Errors_JoinSession_Token_MismatchedSessionName,
      Errors_JoinSession_Token_NoSessionName,
      Errors_JoinSession_Token_RoleType_EmptyOrWrong,
      Errors_JoinSession_Token_UserIdentity_TooLong,