您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

JitsiMeetViewDelegate.h 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 conference was joined.
  20. *
  21. * The `data` dictionary contains a `url` key with the conference URL.
  22. */
  23. - (void)conferenceJoined:(NSDictionary *)data;
  24. /**
  25. * Called when the active conference ends, be it because of user choice or
  26. * because of a failure.
  27. *
  28. * The `data` dictionary contains an `error` key with the error and a `url` key
  29. * with the conference URL. If the conference finished gracefully no `error`
  30. * key will be present. The possible values for "error" are described here:
  31. * https://github.com/jitsi/lib-jitsi-meet/blob/master/JitsiConnectionErrors.js
  32. * https://github.com/jitsi/lib-jitsi-meet/blob/master/JitsiConferenceErrors.js
  33. */
  34. - (void)conferenceTerminated:(NSDictionary *)data;
  35. /**
  36. * Called before a conference is joined.
  37. *
  38. * The `data` dictionary contains a `url` key with the conference URL.
  39. */
  40. - (void)conferenceWillJoin:(NSDictionary *)data;
  41. /**
  42. * Called when entering Picture-in-Picture is requested by the user. The app
  43. * should now activate its Picture-in-Picture implementation (and resize the
  44. * associated `JitsiMeetView`. The latter will automatically detect its new size
  45. * and adjust its user interface to a variant appropriate for the small size
  46. * ordinarily associated with Picture-in-Picture.)
  47. *
  48. * The `data` dictionary is empty.
  49. */
  50. - (void)enterPictureInPicture:(NSDictionary *)data;
  51. @end