|
static final String | IncomingCallAction = "com.hyphenate.action.incomingcall" |
|
void com.hyphenate.chat.EMCallManager.answerCall |
( |
| ) |
throws EMNoActiveCallException |
void com.hyphenate.chat.EMCallManager.endCall |
( |
| ) |
throws EMNoActiveCallException |
int com.hyphenate.chat.EMCallManager.getVoiceInputLevel |
( |
| ) |
|
获取通话时声音输入的大小(范围0-9)
- Returns
boolean com.hyphenate.chat.EMCallManager.isDirectCall |
( |
| ) |
|
返回当前通话时是否为P2P直连
check if that's a P2P call
- Returns
void com.hyphenate.chat.EMCallManager.makeVideoCall |
( |
String |
username | ) |
throws EMServiceNotReadyException |
make video call, before make video call, call setSurfaceView in Activity.onCreate firstly.
- Parameters
-
username | callee's user id. |
- Exceptions
-
void com.hyphenate.chat.EMCallManager.makeVoiceCall |
( |
String |
username | ) |
throws EMServiceNotReadyException |
make video call, before make video call, call setSurfaceView in Activity.onCreate firstly.
- Parameters
-
username | callee's user id. |
- Exceptions
-
EMServiceNotReadyException | if IM is not connected, or previous call doesn't disconnected, will throw EMServiceNotReadyException |
void com.hyphenate.chat.EMCallManager.pauseVideoTransfer |
( |
| ) |
|
void com.hyphenate.chat.EMCallManager.pauseVoiceTransfer |
( |
| ) |
|
void com.hyphenate.chat.EMCallManager.rejectCall |
( |
| ) |
throws EMNoActiveCallException |
void com.hyphenate.chat.EMCallManager.resumeVideoTransfer |
( |
| ) |
|
void com.hyphenate.chat.EMCallManager.resumeVoiceTransfer |
( |
| ) |
|
void com.hyphenate.chat.EMCallManager.setCameraFacing |
( |
int |
facing | ) |
throws HyphenateException |
start camera capture
- Parameters
-
facing | can be CameraInfo.CAMERA_FACING_BACK, CameraInfo.CAMERA_FACING_FRONT : if cameraIndex not in CameraInfo.CAMERA_FACING_BACK, 或者CameraInfo.CAMERA_FACING_FRONT, got the exception. |
Must be called in Activity.onCreate, otherwise can not get surface size accurately.
- Parameters
-
localSurface | |
oppositeSurface | |
boolean com.hyphenate.chat.EMCallManager.streamStarted |
( |
| ) |
|
check if the stream is already started
- Returns
The documentation for this class was generated from the following file:
- hyphenatechatsdk/src/com/hyphenate/chat/EMCallManager.java