Example usage for android.telecom VideoProfile STATE_TX_ENABLED

List of usage examples for android.telecom VideoProfile STATE_TX_ENABLED

Introduction

In this page you can find the example usage for android.telecom VideoProfile STATE_TX_ENABLED.

Prototype

int STATE_TX_ENABLED

To view the source code for android.telecom VideoProfile STATE_TX_ENABLED.

Click Source Link

Document

Video transmission is enabled.

Usage

From source file:Main.java

/**
 * Converts the call type to string//from w  w w  . j  a  v  a2 s.c  om
 */
public static String callTypeToString(int callType) {
    switch (callType) {
    case VideoProfile.STATE_BIDIRECTIONAL:
        return "VT";
    case VideoProfile.STATE_TX_ENABLED:
        return "VT_TX";
    case VideoProfile.STATE_RX_ENABLED:
        return "VT_RX";
    }
    return "";
}