NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
NimHandshakeType.java
浏览该文件的文档.
1package com.netease.nimlib.sdk;
2
3public enum NimHandshakeType {
4
5 V0(0),
6
7 V1(1);
8
9 private int value;
10
11 NimHandshakeType(int value) {
12 this.value = value;
13 }
14
15
16 public int getValue() {
17 return value;
18 }
19
20 public static NimHandshakeType value(int value) {
21 for (NimHandshakeType type : NimHandshakeType.values()) {
22 if (type.value == value) {
23 return type;
24 }
25 }
26
27 return V1;
28 }
29}
static NimHandshakeType value(int value)