"Fossies" - the Fresh Open Source Software Archive 
Member "jitsi-meet-7555/ios/sdk/src/JitsiMeetViewDelegate.h" (28 Sep 2023, 3834 Bytes) of package /linux/misc/jitsi-meet-7555.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 /*
2 * Copyright @ 2017-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
17 @protocol JitsiMeetViewDelegate <NSObject>
18
19 @optional
20
21 /**
22 * Called when a conference was joined.
23 *
24 * The `data` dictionary contains a `url` key with the conference URL.
25 */
26 - (void)conferenceJoined:(NSDictionary *)data;
27
28 /**
29 * Called when the active conference ends, be it because of user choice or
30 * because of a failure.
31 *
32 * The `data` dictionary contains an `error` key with the error and a `url` key
33 * with the conference URL. If the conference finished gracefully no `error`
34 * key will be present. The possible values for "error" are described here:
35 * https://github.com/jitsi/lib-jitsi-meet/blob/master/JitsiConnectionErrors.js
36 * https://github.com/jitsi/lib-jitsi-meet/blob/master/JitsiConferenceErrors.js
37 */
38 - (void)conferenceTerminated:(NSDictionary *)data;
39
40 /**
41 * Called before a conference is joined.
42 *
43 * The `data` dictionary contains a `url` key with the conference URL.
44 */
45 - (void)conferenceWillJoin:(NSDictionary *)data;
46
47 /**
48 * Called when entering Picture-in-Picture is requested by the user. The app
49 * should now activate its Picture-in-Picture implementation (and resize the
50 * associated `JitsiMeetView`. The latter will automatically detect its new size
51 * and adjust its user interface to a variant appropriate for the small size
52 * ordinarily associated with Picture-in-Picture.)
53 *
54 * The `data` dictionary is empty.
55 */
56 - (void)enterPictureInPicture:(NSDictionary *)data;
57
58 /**
59 * Called when a participant has joined the conference.
60 *
61 * The `data` dictionary contains a `participantId` key with the id of the participant that has joined.
62 */
63 - (void)participantJoined:(NSDictionary *)data;
64
65 /**
66 * Called when a participant has left the conference.
67 *
68 * The `data` dictionary contains a `participantId` key with the id of the participant that has left.
69 */
70 - (void)participantLeft:(NSDictionary *)data;
71
72 /**
73 * Called when audioMuted state changed.
74 *
75 * The `data` dictionary contains a `muted` key with state of the audioMuted for the localParticipant.
76 */
77 - (void)audioMutedChanged:(NSDictionary *)data;
78
79 /**
80 * Called when an endpoint text message is received.
81 *
82 * The `data` dictionary contains a `senderId` key with the participantId of the sender and a 'message' key with the content.
83 */
84 - (void)endpointTextMessageReceived:(NSDictionary *)data;
85
86 /**
87 * Called when a participant toggled shared screen.
88 *
89 * The `data` dictionary contains a `participantId` key with the id of the participant and a 'sharing' key with boolean value.
90 */
91 - (void)screenShareToggled:(NSDictionary *)data;
92
93 /**
94 * Called when a chat message is received.
95 *
96 * The `data` dictionary contains `message`, `senderId` and `isPrivate` keys.
97 */
98 - (void)chatMessageReceived:(NSDictionary *)data;
99
100 /**
101 * Called when the chat dialog is displayed/hidden.
102 *
103 * The `data` dictionary contains a `isOpen` key.
104 */
105 - (void)chatToggled:(NSDictionary *)data;
106
107 /**
108 * Called when videoMuted state changed.
109 *
110 * The `data` dictionary contains a `muted` key with state of the videoMuted for the localParticipant.
111 */
112 - (void)videoMutedChanged:(NSDictionary *)data;
113
114 /**
115 * Called when the SDK is ready to be closed. No meeting is happening at this point.
116 */
117 - (void)readyToClose:(NSDictionary *)data;
118
119 @end