NIMSDK-AOS  9.20.15
AVChatConnectionType.java
浏览该文件的文档.
1 /*
2  * Copyright (c) 2014-2018 NetEase, Inc.
3  * All right reserved.
4  */
5 
6 package com.netease.nimlib.sdk.avchat.constant;
7 
8 import com.netease.nrtc.engine.rawapi.RtcConnectionType;
9 
10 /**
11  * 网络类型
12  */
13 public interface AVChatConnectionType {
14 
15 
16  /**
17  * Unknown data connection.
18  */
19  int CONNECTION_UNKNOWN = RtcConnectionType.CONNECTION_UNKNOWN;
20 
21 
22  /**
23  * The Ethernet data connection.
24  */
25  int CONNECTION_ETHERNET = RtcConnectionType.CONNECTION_ETHERNET;
26 
27 
28  /**
29  * The WIFI data connection.
30  */
31  int CONNECTION_WIFI = RtcConnectionType.CONNECTION_WIFI;
32 
33 
34  /**
35  * The Mobile(2G) data connection.
36  */
37  int CONNECTION_2G = RtcConnectionType.CONNECTION_2G;
38 
39 
40  /**
41  * The Mobile(3G) data connection.
42  */
43  int CONNECTION_3G = RtcConnectionType.CONNECTION_3G;
44 
45 
46  /**
47  * The Mobile(4G) data connection.
48  */
49  int CONNECTION_4G = RtcConnectionType.CONNECTION_4G;
50 
51 
52  /**
53  * The Bluetooth data connection.
54  */
55  int CONNECTION_BLUETOOTH = RtcConnectionType.CONNECTION_BLUETOOTH;
56 
57 
58  /**
59  * The absence of a connection type.
60  */
61  int CONNECTION_NONE = RtcConnectionType.CONNECTION_NONE;
62 
63 
64 }