List of usage examples for android.telecom TelecomManager EXTRA_START_CALL_WITH_VIDEO_STATE
String EXTRA_START_CALL_WITH_VIDEO_STATE
To view the source code for android.telecom TelecomManager EXTRA_START_CALL_WITH_VIDEO_STATE.
Click Source Link
From source file:com.mobileglobe.android.customdialer.common.CallUtil.java
/** * A variant of {@link #getCallIntent} for starting a video call. *///from w w w. j a v a 2s . c o m public static Intent getVideoCallIntent(String number, String callOrigin) { final Intent intent = new Intent(Intent.ACTION_CALL, getCallUri(number)); intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, VideoProfile.STATE_BIDIRECTIONAL); if (!TextUtils.isEmpty(callOrigin)) { intent.putExtra(PhoneConstants.EXTRA_CALL_ORIGIN, callOrigin); } return intent; }