NIMSDK-AOS  9.16.0
AVChatRecordState.java
浏览该文件的文档.
1 /*
2  * Copyright (c) 2014-2018 NetEase, Inc.
3  * All right reserved.
4  */
5 
6 package com.netease.nimlib.sdk.avchat.constant;
7 
11 public enum AVChatRecordState {
15  Success(0),
19  Missed(1),
28 
29  ;
30 
31  private int value;
32 
33  AVChatRecordState(int value) {
34  this.value = value;
35  }
36 
37  public int getValue() {
38  return value;
39  }
40 
41  public static AVChatRecordState stateOfValue(int value) {
42  for (AVChatRecordState state : values()) {
43  if (state.getValue() == value) {
44  return state;
45  }
46  }
47  return Success;
48  }
49 }
Canceled
呼叫方在对方接听之前取消去电
Rejected
被拨打方拒绝接听电话或者正忙
实时音视频通话记录状态值枚举。