Example usage for android.telecom VideoProfile STATE_RX_ENABLED

List of usage examples for android.telecom VideoProfile STATE_RX_ENABLED

Introduction

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

Prototype

int STATE_RX_ENABLED

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

Click Source Link

Document

Video reception is enabled.

Usage

From source file:Main.java

/**
 * Converts the call type to string//w  w w . j ava2 s  .  co m
 */
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 "";
}