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.

JitsiMeetViewDelegate.h 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * Copyright @ 2017-present Atlassian Pty Ltd
  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. @protocol JitsiMeetViewDelegate <NSObject>
  17. @optional
  18. /**
  19. * Called when a joining a conference was unsuccessful or when there was an
  20. * error while in a conference.
  21. *
  22. * The `data` dictionary contains an `error` key describing the error and a
  23. * `url` key with the conference URL.
  24. */
  25. - (void)conferenceFailed:(NSDictionary *)data;
  26. /**
  27. * Called when a conference was joined.
  28. *
  29. * The `data` dictionary contains a `url` key with the conference URL.
  30. */
  31. - (void)conferenceJoined:(NSDictionary *)data;
  32. /**
  33. * Called when a conference was left.
  34. *
  35. * The `data` dictionary contains a `url` key with the conference URL.
  36. */
  37. - (void)conferenceLeft:(NSDictionary *)data;
  38. /**
  39. * Called before a conference is joined.
  40. *
  41. * The `data` dictionary contains a `url` key with the conference URL.
  42. */
  43. - (void)conferenceWillJoin:(NSDictionary *)data;
  44. /**
  45. * Called before a conference is left.
  46. *
  47. * The `data` dictionary contains a `url` key with the conference URL.
  48. */
  49. - (void)conferenceWillLeave:(NSDictionary *)data;
  50. /**
  51. * Called when entering Picture-in-Picture is requested by the user. The app
  52. * should now activate its Picture-in-Picture implementation (and resize the
  53. * associated `JitsiMeetView`. The latter will automatically detect its new size
  54. * and adjust its user interface to a variant appropriate for the small size
  55. * ordinarily associated with Picture-in-Picture.)
  56. *
  57. * The `data` dictionary is empty.
  58. */
  59. - (void)enterPictureInPicture:(NSDictionary *)data;
  60. /**
  61. * Called when loading the main configuration file from the Jitsi Meet
  62. * deployment file.
  63. *
  64. * The `data` dictionary contains an `error` key with the error and a `url` key
  65. * with the conference URL which necessitated the loading of the configuration
  66. * file.
  67. */
  68. - (void)loadConfigError:(NSDictionary *)data;
  69. @end