Example usage for android.telecom Connection getVideoProvider

List of usage examples for android.telecom Connection getVideoProvider

Introduction

In this page you can find the example usage for android.telecom Connection getVideoProvider.

Prototype

public final VideoProvider getVideoProvider() 

Source Link

Usage

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);
    /// @}
}