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.

JitsiMeet.h 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. * Copyright @ 2018-present 8x8, Inc.
  3. * Copyright @ 2017-2018 Atlassian Pty Ltd
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. #import <JitsiMeet/JitsiMeetView.h>
  18. #import <JitsiMeet/JitsiMeetViewDelegate.h>
  19. #import <JitsiMeet/JitsiMeetConferenceOptions.h>
  20. #import <JitsiMeet/JitsiMeetLogger.h>
  21. #import <JitsiMeet/JitsiMeetBaseLogHandler.h>
  22. @interface JitsiMeet : NSObject
  23. /**
  24. * Name for the conference NSUserActivity type. This is used when integrating with
  25. * SiriKit or Handoff, for example.
  26. */
  27. @property (copy, nonatomic, nullable) NSString *conferenceActivityType;
  28. /**
  29. * Custom URL scheme used for deep-linking.
  30. */
  31. @property (copy, nonatomic, nullable) NSString *customUrlScheme;
  32. /**
  33. * List of domains used for universal linking.
  34. */
  35. @property (copy, nonatomic, nullable) NSArray<NSString *> *universalLinkDomains;
  36. /**
  37. * Default conference options used for all conferences. These options will be merged
  38. * with those passed to JitsiMeetView.join when joining a conference.
  39. */
  40. @property (nonatomic, nullable) JitsiMeetConferenceOptions *defaultConferenceOptions;
  41. #pragma mark - This class is a singleton
  42. + (instancetype _Nonnull)sharedInstance;
  43. #pragma mark - Methods that the App delegate must call
  44. - (BOOL)application:(UIApplication *_Nonnull)application
  45. didFinishLaunchingWithOptions:(NSDictionary *_Nonnull)launchOptions;
  46. - (BOOL)application:(UIApplication *_Nonnull)application
  47. continueUserActivity:(NSUserActivity *_Nonnull)userActivity
  48. restorationHandler:(void (^_Nullable)(NSArray<id<UIUserActivityRestoring>> *_Nonnull))restorationHandler;
  49. - (BOOL)application:(UIApplication *_Nonnull)app
  50. openURL:(NSURL *_Nonnull)url
  51. options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *_Nonnull)options;
  52. #pragma mark - Utility methods
  53. - (JitsiMeetConferenceOptions *_Nonnull)getInitialConferenceOptions;
  54. @end