Java tutorial
//package com.java2s; import android.telecom.VideoProfile; public class Main { /** * Converts the call type to string */ 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 ""; } }