diff options
Diffstat (limited to 'telecomm/java/android/telecom/Connection.java')
-rw-r--r-- | telecomm/java/android/telecom/Connection.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index a180f44..03fec01 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -260,6 +260,7 @@ public abstract class Connection implements IConferenceable { /** @hide */ public void onConferenceParticipantsChanged(Connection c, List<ConferenceParticipant> participants) {} + public void onConferenceStarted() {} } /** @hide */ @@ -1422,4 +1423,13 @@ public abstract class Connection implements IConferenceable { l.onConferenceParticipantsChanged(this, conferenceParticipants); } } + + /** + * Notifies listeners that a conference call has been started. + */ + protected void notifyConferenceStarted() { + for (Listener l : mListeners) { + l.onConferenceStarted(); + } + } } |