blob: 3acf9458b9c1226b7feb2370048caf5afbdf912c [file] [log] [blame]
Santos Cordon823fd3c2014-08-07 18:35:18 -07001/*
2 * Copyright (C) 2014 The Android Open Source Project
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
Tyler Gunnef9f6f92014-09-12 22:16:17 -070017package android.telecom;
Santos Cordon823fd3c2014-08-07 18:35:18 -070018
Rekha Kumar07366812015-03-24 16:42:31 -070019import android.telecom.Connection.VideoProvider;
Evan Charlton0e094d92014-11-08 15:49:16 -080020
Ihab Awad50e35062014-09-30 09:17:03 -070021import java.util.ArrayList;
Santos Cordon823fd3c2014-08-07 18:35:18 -070022import java.util.Collections;
Santos Cordon823fd3c2014-08-07 18:35:18 -070023import java.util.List;
Rekha Kumar07366812015-03-24 16:42:31 -070024import java.util.Locale;
Santos Cordon823fd3c2014-08-07 18:35:18 -070025import java.util.Set;
26import java.util.concurrent.CopyOnWriteArrayList;
27import java.util.concurrent.CopyOnWriteArraySet;
28
29/**
30 * Represents a conference call which can contain any number of {@link Connection} objects.
31 */
Tyler Gunn6d76ca02014-11-17 15:49:51 -080032public abstract class Conference implements IConferenceable {
Santos Cordon823fd3c2014-08-07 18:35:18 -070033
Tyler Gunncd5d33c2015-01-12 09:02:01 -080034 /**
35 * Used to indicate that the conference connection time is not specified. If not specified,
36 * Telecom will set the connect time.
37 */
Jay Shrauner193de662015-04-14 18:16:10 -070038 public static final long CONNECT_TIME_NOT_SPECIFIED = 0;
Tyler Gunncd5d33c2015-01-12 09:02:01 -080039
Santos Cordon823fd3c2014-08-07 18:35:18 -070040 /** @hide */
41 public abstract static class Listener {
42 public void onStateChanged(Conference conference, int oldState, int newState) {}
Andrew Lee7f3d41f2014-09-11 17:33:16 -070043 public void onDisconnected(Conference conference, DisconnectCause disconnectCause) {}
Santos Cordon823fd3c2014-08-07 18:35:18 -070044 public void onConnectionAdded(Conference conference, Connection connection) {}
45 public void onConnectionRemoved(Conference conference, Connection connection) {}
Ihab Awad50e35062014-09-30 09:17:03 -070046 public void onConferenceableConnectionsChanged(
47 Conference conference, List<Connection> conferenceableConnections) {}
Santos Cordon823fd3c2014-08-07 18:35:18 -070048 public void onDestroyed(Conference conference) {}
Ihab Awad5c9c86e2014-11-12 13:41:16 -080049 public void onConnectionCapabilitiesChanged(
50 Conference conference, int connectionCapabilities) {}
Rekha Kumar07366812015-03-24 16:42:31 -070051 public void onVideoStateChanged(Conference c, int videoState) { }
52 public void onVideoProviderChanged(Conference c, Connection.VideoProvider videoProvider) {}
Andrew Leeedc625f2015-04-14 13:38:12 -070053 public void onStatusHintsChanged(Conference conference, StatusHints statusHints) {}
Santos Cordon823fd3c2014-08-07 18:35:18 -070054 }
55
56 private final Set<Listener> mListeners = new CopyOnWriteArraySet<>();
57 private final List<Connection> mChildConnections = new CopyOnWriteArrayList<>();
Ihab Awadb8e85c72014-08-23 20:34:57 -070058 private final List<Connection> mUnmodifiableChildConnections =
Santos Cordon823fd3c2014-08-07 18:35:18 -070059 Collections.unmodifiableList(mChildConnections);
Ihab Awad50e35062014-09-30 09:17:03 -070060 private final List<Connection> mConferenceableConnections = new ArrayList<>();
61 private final List<Connection> mUnmodifiableConferenceableConnections =
62 Collections.unmodifiableList(mConferenceableConnections);
Santos Cordon823fd3c2014-08-07 18:35:18 -070063
Jay Shrauner193de662015-04-14 18:16:10 -070064 private PhoneAccountHandle mPhoneAccount;
Yorke Leea0d3ca92014-09-15 19:18:13 -070065 private AudioState mAudioState;
Santos Cordon823fd3c2014-08-07 18:35:18 -070066 private int mState = Connection.STATE_NEW;
Andrew Lee7f3d41f2014-09-11 17:33:16 -070067 private DisconnectCause mDisconnectCause;
Ihab Awad5c9c86e2014-11-12 13:41:16 -080068 private int mConnectionCapabilities;
Santos Cordon823fd3c2014-08-07 18:35:18 -070069 private String mDisconnectMessage;
Tyler Gunncd5d33c2015-01-12 09:02:01 -080070 private long mConnectTimeMillis = CONNECT_TIME_NOT_SPECIFIED;
Andrew Leeedc625f2015-04-14 13:38:12 -070071 private StatusHints mStatusHints;
Santos Cordon823fd3c2014-08-07 18:35:18 -070072
Ihab Awad50e35062014-09-30 09:17:03 -070073 private final Connection.Listener mConnectionDeathListener = new Connection.Listener() {
74 @Override
75 public void onDestroyed(Connection c) {
76 if (mConferenceableConnections.remove(c)) {
77 fireOnConferenceableConnectionsChanged();
78 }
79 }
80 };
81
Nancy Chen56fc25d2014-09-09 12:24:51 -070082 /**
83 * Constructs a new Conference with a mandatory {@link PhoneAccountHandle}
84 *
85 * @param phoneAccount The {@code PhoneAccountHandle} associated with the conference.
86 */
Santos Cordon823fd3c2014-08-07 18:35:18 -070087 public Conference(PhoneAccountHandle phoneAccount) {
88 mPhoneAccount = phoneAccount;
89 }
90
Nancy Chen56fc25d2014-09-09 12:24:51 -070091 /**
92 * Returns the {@link PhoneAccountHandle} the conference call is being placed through.
93 *
94 * @return A {@code PhoneAccountHandle} object representing the PhoneAccount of the conference.
95 */
Nancy Chenea38cca2014-09-05 16:38:49 -070096 public final PhoneAccountHandle getPhoneAccountHandle() {
Santos Cordon823fd3c2014-08-07 18:35:18 -070097 return mPhoneAccount;
98 }
99
Nancy Chen56fc25d2014-09-09 12:24:51 -0700100 /**
101 * Returns the list of connections currently associated with the conference call.
102 *
103 * @return A list of {@code Connection} objects which represent the children of the conference.
104 */
Santos Cordon823fd3c2014-08-07 18:35:18 -0700105 public final List<Connection> getConnections() {
Ihab Awadb8e85c72014-08-23 20:34:57 -0700106 return mUnmodifiableChildConnections;
Santos Cordon823fd3c2014-08-07 18:35:18 -0700107 }
108
Nancy Chen56fc25d2014-09-09 12:24:51 -0700109 /**
110 * Gets the state of the conference call. See {@link Connection} for valid values.
111 *
112 * @return A constant representing the state the conference call is currently in.
113 */
Santos Cordon823fd3c2014-08-07 18:35:18 -0700114 public final int getState() {
115 return mState;
116 }
117
Nancy Chen56fc25d2014-09-09 12:24:51 -0700118 /**
Ihab Awad5c9c86e2014-11-12 13:41:16 -0800119 * Returns the capabilities of a conference. See {@code CAPABILITY_*} constants in class
120 * {@link Connection} for valid values.
Nancy Chen56fc25d2014-09-09 12:24:51 -0700121 *
Ihab Awad5c9c86e2014-11-12 13:41:16 -0800122 * @return A bitmask of the capabilities of the conference call.
Nancy Chen56fc25d2014-09-09 12:24:51 -0700123 */
Ihab Awad5c9c86e2014-11-12 13:41:16 -0800124 public final int getConnectionCapabilities() {
125 return mConnectionCapabilities;
126 }
127
128 /**
129 * Whether the given capabilities support the specified capability.
130 *
131 * @param capabilities A capability bit field.
132 * @param capability The capability to check capabilities for.
133 * @return Whether the specified capability is supported.
134 * @hide
135 */
136 public static boolean can(int capabilities, int capability) {
137 return (capabilities & capability) != 0;
138 }
139
140 /**
141 * Whether the capabilities of this {@code Connection} supports the specified capability.
142 *
143 * @param capability The capability to check capabilities for.
144 * @return Whether the specified capability is supported.
145 * @hide
146 */
147 public boolean can(int capability) {
148 return can(mConnectionCapabilities, capability);
149 }
150
151 /**
152 * Removes the specified capability from the set of capabilities of this {@code Conference}.
153 *
154 * @param capability The capability to remove from the set.
155 * @hide
156 */
157 public void removeCapability(int capability) {
158 mConnectionCapabilities &= ~capability;
159 }
160
161 /**
162 * Adds the specified capability to the set of capabilities of this {@code Conference}.
163 *
164 * @param capability The capability to add to the set.
165 * @hide
166 */
167 public void addCapability(int capability) {
168 mConnectionCapabilities |= capability;
Santos Cordon823fd3c2014-08-07 18:35:18 -0700169 }
170
171 /**
Yorke Leea0d3ca92014-09-15 19:18:13 -0700172 * @return The audio state of the conference, describing how its audio is currently
173 * being routed by the system. This is {@code null} if this Conference
174 * does not directly know about its audio state.
175 */
176 public final AudioState getAudioState() {
177 return mAudioState;
178 }
179
180 /**
Rekha Kumar07366812015-03-24 16:42:31 -0700181 * Returns VideoProvider of the primary call. This can be null.
182 * @hide
183 */
184 public VideoProvider getVideoProvider() {
185 return null;
186 }
187
188 /**
189 * Returns video state of the primary call.
190 * @hide
191 */
192 public int getVideoState() {
193 return VideoProfile.VideoState.AUDIO_ONLY;
194 }
195
196 /**
Santos Cordon823fd3c2014-08-07 18:35:18 -0700197 * Invoked when the Conference and all it's {@link Connection}s should be disconnected.
198 */
199 public void onDisconnect() {}
200
201 /**
202 * Invoked when the specified {@link Connection} should be separated from the conference call.
203 *
204 * @param connection The connection to separate.
205 */
206 public void onSeparate(Connection connection) {}
207
208 /**
Ihab Awad50e35062014-09-30 09:17:03 -0700209 * Invoked when the specified {@link Connection} should merged with the conference call.
210 *
211 * @param connection The {@code Connection} to merge.
212 */
213 public void onMerge(Connection connection) {}
214
215 /**
Santos Cordon823fd3c2014-08-07 18:35:18 -0700216 * Invoked when the conference should be put on hold.
217 */
218 public void onHold() {}
219
220 /**
221 * Invoked when the conference should be moved from hold to active.
222 */
223 public void onUnhold() {}
224
225 /**
Santos Cordona4868042014-09-04 17:39:22 -0700226 * Invoked when the child calls should be merged. Only invoked if the conference contains the
Ihab Awad5c9c86e2014-11-12 13:41:16 -0800227 * capability {@link Connection#CAPABILITY_MERGE_CONFERENCE}.
Santos Cordona4868042014-09-04 17:39:22 -0700228 */
229 public void onMerge() {}
230
231 /**
232 * Invoked when the child calls should be swapped. Only invoked if the conference contains the
Ihab Awad5c9c86e2014-11-12 13:41:16 -0800233 * capability {@link Connection#CAPABILITY_SWAP_CONFERENCE}.
Santos Cordona4868042014-09-04 17:39:22 -0700234 */
235 public void onSwap() {}
236
237 /**
Yorke Leea0d3ca92014-09-15 19:18:13 -0700238 * Notifies this conference of a request to play a DTMF tone.
239 *
240 * @param c A DTMF character.
241 */
242 public void onPlayDtmfTone(char c) {}
243
244 /**
245 * Notifies this conference of a request to stop any currently playing DTMF tones.
246 */
247 public void onStopDtmfTone() {}
248
249 /**
250 * Notifies this conference that the {@link #getAudioState()} property has a new value.
251 *
252 * @param state The new call audio state.
253 */
254 public void onAudioStateChanged(AudioState state) {}
255
256 /**
Andrew Lee46f7f5d2014-11-06 17:00:25 -0800257 * Notifies this conference that a connection has been added to it.
258 *
259 * @param connection The newly added connection.
260 */
261 public void onConnectionAdded(Connection connection) {}
262
263 /**
Santos Cordon823fd3c2014-08-07 18:35:18 -0700264 * Sets state to be on hold.
265 */
266 public final void setOnHold() {
267 setState(Connection.STATE_HOLDING);
268 }
269
270 /**
271 * Sets state to be active.
272 */
273 public final void setActive() {
274 setState(Connection.STATE_ACTIVE);
275 }
276
277 /**
278 * Sets state to disconnected.
279 *
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700280 * @param disconnectCause The reason for the disconnection, as described by
281 * {@link android.telecom.DisconnectCause}.
Santos Cordon823fd3c2014-08-07 18:35:18 -0700282 */
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700283 public final void setDisconnected(DisconnectCause disconnectCause) {
284 mDisconnectCause = disconnectCause;;
Santos Cordon823fd3c2014-08-07 18:35:18 -0700285 setState(Connection.STATE_DISCONNECTED);
286 for (Listener l : mListeners) {
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700287 l.onDisconnected(this, mDisconnectCause);
Santos Cordon823fd3c2014-08-07 18:35:18 -0700288 }
289 }
290
291 /**
mike dooley1cf14ac2014-11-04 10:59:53 -0800292 * @return The {@link DisconnectCause} for this connection.
293 */
294 public final DisconnectCause getDisconnectCause() {
295 return mDisconnectCause;
296 }
297
298 /**
Ihab Awad5c9c86e2014-11-12 13:41:16 -0800299 * Sets the capabilities of a conference. See {@code CAPABILITY_*} constants of class
300 * {@link Connection} for valid values.
Nancy Chen56fc25d2014-09-09 12:24:51 -0700301 *
Ihab Awad5c9c86e2014-11-12 13:41:16 -0800302 * @param connectionCapabilities A bitmask of the {@code PhoneCapabilities} of the conference call.
Santos Cordon823fd3c2014-08-07 18:35:18 -0700303 */
Ihab Awad5c9c86e2014-11-12 13:41:16 -0800304 public final void setConnectionCapabilities(int connectionCapabilities) {
305 if (connectionCapabilities != mConnectionCapabilities) {
306 mConnectionCapabilities = connectionCapabilities;
Santos Cordon823fd3c2014-08-07 18:35:18 -0700307
308 for (Listener l : mListeners) {
Ihab Awad5c9c86e2014-11-12 13:41:16 -0800309 l.onConnectionCapabilitiesChanged(this, mConnectionCapabilities);
Santos Cordon823fd3c2014-08-07 18:35:18 -0700310 }
311 }
312 }
313
314 /**
315 * Adds the specified connection as a child of this conference.
316 *
317 * @param connection The connection to add.
318 * @return True if the connection was successfully added.
319 */
Santos Cordona4868042014-09-04 17:39:22 -0700320 public final boolean addConnection(Connection connection) {
Rekha Kumar07366812015-03-24 16:42:31 -0700321 Log.d(this, "Connection=%s, connection=", connection);
Santos Cordon823fd3c2014-08-07 18:35:18 -0700322 if (connection != null && !mChildConnections.contains(connection)) {
323 if (connection.setConference(this)) {
324 mChildConnections.add(connection);
Andrew Lee46f7f5d2014-11-06 17:00:25 -0800325 onConnectionAdded(connection);
Santos Cordon823fd3c2014-08-07 18:35:18 -0700326 for (Listener l : mListeners) {
327 l.onConnectionAdded(this, connection);
328 }
329 return true;
330 }
331 }
332 return false;
333 }
334
335 /**
336 * Removes the specified connection as a child of this conference.
337 *
338 * @param connection The connection to remove.
Santos Cordon823fd3c2014-08-07 18:35:18 -0700339 */
Santos Cordona4868042014-09-04 17:39:22 -0700340 public final void removeConnection(Connection connection) {
Santos Cordon0159ac02014-08-21 14:28:11 -0700341 Log.d(this, "removing %s from %s", connection, mChildConnections);
Santos Cordon823fd3c2014-08-07 18:35:18 -0700342 if (connection != null && mChildConnections.remove(connection)) {
343 connection.resetConference();
344 for (Listener l : mListeners) {
345 l.onConnectionRemoved(this, connection);
346 }
347 }
348 }
349
350 /**
Ihab Awad50e35062014-09-30 09:17:03 -0700351 * Sets the connections with which this connection can be conferenced.
352 *
353 * @param conferenceableConnections The set of connections this connection can conference with.
354 */
355 public final void setConferenceableConnections(List<Connection> conferenceableConnections) {
356 clearConferenceableList();
357 for (Connection c : conferenceableConnections) {
358 // If statement checks for duplicates in input. It makes it N^2 but we're dealing with a
359 // small amount of items here.
360 if (!mConferenceableConnections.contains(c)) {
361 c.addConnectionListener(mConnectionDeathListener);
362 mConferenceableConnections.add(c);
363 }
364 }
365 fireOnConferenceableConnectionsChanged();
366 }
367
Rekha Kumar07366812015-03-24 16:42:31 -0700368 /**
369 * Set the video state for the conference.
370 * Valid values: {@link VideoProfile.VideoState#AUDIO_ONLY},
371 * {@link VideoProfile.VideoState#BIDIRECTIONAL},
372 * {@link VideoProfile.VideoState#TX_ENABLED},
373 * {@link VideoProfile.VideoState#RX_ENABLED}.
374 *
375 * @param videoState The new video state.
376 * @hide
377 */
378 public final void setVideoState(Connection c, int videoState) {
379 Log.d(this, "setVideoState Conference: %s Connection: %s VideoState: %s",
380 this, c, videoState);
381 for (Listener l : mListeners) {
382 l.onVideoStateChanged(this, videoState);
383 }
384 }
385
386 /**
387 * Sets the video connection provider.
388 *
389 * @param videoProvider The video provider.
390 * @hide
391 */
392 public final void setVideoProvider(Connection c, Connection.VideoProvider videoProvider) {
393 Log.d(this, "setVideoProvider Conference: %s Connection: %s VideoState: %s",
394 this, c, videoProvider);
395 for (Listener l : mListeners) {
396 l.onVideoProviderChanged(this, videoProvider);
397 }
398 }
399
Ihab Awad50e35062014-09-30 09:17:03 -0700400 private final void fireOnConferenceableConnectionsChanged() {
401 for (Listener l : mListeners) {
402 l.onConferenceableConnectionsChanged(this, getConferenceableConnections());
403 }
404 }
405
406 /**
407 * Returns the connections with which this connection can be conferenced.
408 */
409 public final List<Connection> getConferenceableConnections() {
410 return mUnmodifiableConferenceableConnections;
411 }
412
413 /**
Nancy Chenea38cca2014-09-05 16:38:49 -0700414 * Tears down the conference object and any of its current connections.
Santos Cordon823fd3c2014-08-07 18:35:18 -0700415 */
Santos Cordona4868042014-09-04 17:39:22 -0700416 public final void destroy() {
Santos Cordon823fd3c2014-08-07 18:35:18 -0700417 Log.d(this, "destroying conference : %s", this);
418 // Tear down the children.
Santos Cordon0159ac02014-08-21 14:28:11 -0700419 for (Connection connection : mChildConnections) {
Santos Cordon823fd3c2014-08-07 18:35:18 -0700420 Log.d(this, "removing connection %s", connection);
421 removeConnection(connection);
422 }
423
424 // If not yet disconnected, set the conference call as disconnected first.
425 if (mState != Connection.STATE_DISCONNECTED) {
426 Log.d(this, "setting to disconnected");
Andrew Lee7f3d41f2014-09-11 17:33:16 -0700427 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
Santos Cordon823fd3c2014-08-07 18:35:18 -0700428 }
429
430 // ...and notify.
431 for (Listener l : mListeners) {
432 l.onDestroyed(this);
433 }
434 }
435
436 /**
437 * Add a listener to be notified of a state change.
438 *
439 * @param listener The new listener.
440 * @return This conference.
441 * @hide
442 */
443 public final Conference addListener(Listener listener) {
444 mListeners.add(listener);
445 return this;
446 }
447
448 /**
449 * Removes the specified listener.
450 *
451 * @param listener The listener to remove.
452 * @return This conference.
453 * @hide
454 */
455 public final Conference removeListener(Listener listener) {
456 mListeners.remove(listener);
457 return this;
458 }
459
Yorke Leea0d3ca92014-09-15 19:18:13 -0700460 /**
Tyler Gunn4a57b9b2014-10-30 14:27:48 -0700461 * Retrieves the primary connection associated with the conference. The primary connection is
462 * the connection from which the conference will retrieve its current state.
463 *
464 * @return The primary connection.
465 */
466 public Connection getPrimaryConnection() {
467 if (mUnmodifiableChildConnections == null || mUnmodifiableChildConnections.isEmpty()) {
468 return null;
469 }
470 return mUnmodifiableChildConnections.get(0);
471 }
472
473 /**
Tyler Gunncd5d33c2015-01-12 09:02:01 -0800474 * Sets the connect time of the {@code Conference}.
475 *
476 * @param connectTimeMillis The connection time, in milliseconds.
477 */
478 public void setConnectTimeMillis(long connectTimeMillis) {
479 mConnectTimeMillis = connectTimeMillis;
480 }
481
482 /**
483 * Retrieves the connect time of the {@code Conference}, if specified. A value of
484 * {@link #CONNECT_TIME_NOT_SPECIFIED} indicates that Telecom should determine the start time
485 * of the conference.
486 *
487 * @return The time the {@code Conference} has been connected.
488 */
Jay Shrauner1cf9b6b2015-04-09 15:15:43 -0700489 public final long getConnectTimeMillis() {
Tyler Gunncd5d33c2015-01-12 09:02:01 -0800490 return mConnectTimeMillis;
491 }
492
493 /**
Yorke Leea0d3ca92014-09-15 19:18:13 -0700494 * Inform this Conference that the state of its audio output has been changed externally.
495 *
496 * @param state The new audio state.
497 * @hide
498 */
499 final void setAudioState(AudioState state) {
500 Log.d(this, "setAudioState %s", state);
501 mAudioState = state;
502 onAudioStateChanged(state);
503 }
504
Santos Cordon823fd3c2014-08-07 18:35:18 -0700505 private void setState(int newState) {
506 if (newState != Connection.STATE_ACTIVE &&
507 newState != Connection.STATE_HOLDING &&
508 newState != Connection.STATE_DISCONNECTED) {
509 Log.w(this, "Unsupported state transition for Conference call.",
510 Connection.stateToString(newState));
511 return;
512 }
513
514 if (mState != newState) {
515 int oldState = mState;
516 mState = newState;
517 for (Listener l : mListeners) {
518 l.onStateChanged(this, oldState, newState);
519 }
520 }
521 }
Ihab Awad50e35062014-09-30 09:17:03 -0700522
523 private final void clearConferenceableList() {
524 for (Connection c : mConferenceableConnections) {
525 c.removeConnectionListener(mConnectionDeathListener);
526 }
527 mConferenceableConnections.clear();
528 }
Rekha Kumar07366812015-03-24 16:42:31 -0700529
530 @Override
531 public String toString() {
532 return String.format(Locale.US,
533 "[State: %s,Capabilites: %s, VideoState: %s, VideoProvider: %s, ThisObject %s]",
534 Connection.stateToString(mState),
535 Call.Details.capabilitiesToString(mConnectionCapabilities),
536 getVideoState(),
537 getVideoProvider(),
538 super.toString());
539 }
Andrew Lee0f51da32015-04-16 13:11:55 -0700540
Andrew Leeedc625f2015-04-14 13:38:12 -0700541 /**
542 * Sets the label and icon status to display in the InCall UI.
543 *
544 * @param statusHints The status label and icon to set.
545 */
546 public final void setStatusHints(StatusHints statusHints) {
547 mStatusHints = statusHints;
548 for (Listener l : mListeners) {
549 l.onStatusHintsChanged(this, statusHints);
550 }
551 }
552
553 /**
554 * @return The status hints for this conference.
555 */
556 public final StatusHints getStatusHints() {
557 return mStatusHints;
558 }
Santos Cordon823fd3c2014-08-07 18:35:18 -0700559}