List of usage examples for android.telecom Connection getVideoProvider
public final VideoProvider getVideoProvider()
From source file:com.android.server.telecom.testapps.TestConnectionService.java
@Override public void onConference(Connection a, Connection b) { //M: when hold, the video can only send @{ TestConference conference = new TestConference(a, b); if (a.getVideoProvider() != null) { setVideoProvider(a.getVideoProvider()); setVideoState(3);/*from ww w . j a v a 2s . co m*/ } else if (b.getVideoProvider() != null) { setVideoProvider(b.getVideoProvider()); setVideoState(3); } addConference(conference); /// @} }