You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

JitsiMeetConferenceOptions.h 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Copyright @ 2019-present 8x8, Inc.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #import <Foundation/Foundation.h>
  17. @interface JitsiMeetConferenceOptionsBuilder : NSObject
  18. /**
  19. * Server where the conference should take place.
  20. */
  21. @property (nonatomic, copy, nullable) NSURL *serverURL;
  22. /**
  23. * Room name.
  24. */
  25. @property (nonatomic, copy, nullable) NSString *room;
  26. /**
  27. * JWT token used for authentication.
  28. */
  29. @property (nonatomic, copy, nullable) NSString *token;
  30. /**
  31. * Color scheme override, see:
  32. * https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/color-scheme/defaultScheme.js
  33. */
  34. @property (nonatomic, copy, nullable) NSDictionary *colorScheme;
  35. /**
  36. * Set to YES to join the conference with audio / video muted or to start in audio
  37. * only mode respectively.
  38. */
  39. @property (nonatomic) BOOL audioOnly;
  40. @property (nonatomic) BOOL audioMuted;
  41. @property (nonatomic) BOOL videoMuted;
  42. /**
  43. * Set to YES to enable the welcome page. Typically SDK users won't need this enabled
  44. * since the host application decides which meeting to join.
  45. */
  46. @property (nonatomic) BOOL welcomePageEnabled;
  47. @end
  48. @interface JitsiMeetConferenceOptions : NSObject
  49. @property (nonatomic, copy, nullable, readonly) NSURL *serverURL;
  50. @property (nonatomic, copy, nullable, readonly) NSString *room;
  51. @property (nonatomic, copy, nullable, readonly) NSString *token;
  52. @property (nonatomic, copy, nullable) NSDictionary *colorScheme;
  53. @property (nonatomic, readonly) BOOL audioOnly;
  54. @property (nonatomic, readonly) BOOL audioMuted;
  55. @property (nonatomic, readonly) BOOL videoMuted;
  56. @property (nonatomic, readonly) BOOL welcomePageEnabled;
  57. + (instancetype _Nonnull)fromBuilder:(void (^_Nonnull)(JitsiMeetConferenceOptionsBuilder *_Nonnull))initBlock;
  58. - (instancetype _Nonnull)init NS_UNAVAILABLE;
  59. @end