1# DataProfileDataInfo
2
3
4## 概述
5
6PDP上下文信息。
7
8**起始版本:** 3.2
9
10**相关模块:**[Ril](_ril_v10.md)
11
12
13## 汇总
14
15
16### Public 属性
17
18| 名称 | 描述 |
19| -------- | -------- |
20| int [serial](#serial) | 请求的序列号  |
21| int [profileId](#profileid) | 数据业务类型号,0表示默认数据业务,1表示彩信数据业务  |
22| int [authenticationType](#authenticationtype) | 鉴权类型 |
23| String [apn](#apn) | 接入点名称  |
24| String [protocol](#protocol) | 网际协议版本  |
25| String [roamingProtocol](#roamingprotocol) | 漫游网际协议版本  |
26| String [userName](#username) | 用户名  |
27| String [password](#password) | 密码  |
28
29
30## 类成员变量说明
31
32
33### apn
34
35```
36String DataProfileDataInfo::apn
37```
38**描述**
39
40接入点名称
41
42
43### authenticationType
44
45```
46int DataProfileDataInfo::authenticationType
47```
48**描述**
49
50鉴权类型
51
52- 0:无
53
54- 1:密码认证协议(PAP)
55
56- 2:质询握手认证协议(CHAP)
57
58
59### password
60
61```
62String DataProfileDataInfo::password
63```
64**描述**
65
66密码
67
68
69### profileId
70
71```
72int DataProfileDataInfo::profileId
73```
74**描述**
75
76数据业务类型号,0表示默认数据业务,1表示彩信数据业务
77
78
79### protocol
80
81```
82String DataProfileDataInfo::protocol
83```
84**描述**
85
86网际协议版本
87
88
89### roamingProtocol
90
91```
92String DataProfileDataInfo::roamingProtocol
93```
94**描述**
95
96漫游网际协议版本
97
98
99### serial
100
101```
102int DataProfileDataInfo::serial
103```
104**描述**
105
106请求的序列号
107
108
109### userName
110
111```
112String DataProfileDataInfo::userName
113```
114**描述**
115
116用户名
117