-
Notifications
You must be signed in to change notification settings - Fork 0
/
Register.proto
44 lines (38 loc) · 978 Bytes
/
Register.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
syntax = "proto3";
package AcFunDanmu;
import "AppInfo.proto";
import "DeviceInfo.proto";
import "EnvInfo.proto";
import "ZtCommonInfo.proto";
import "AccessPointsConfig.proto";
import "PushServiceToken.proto";
import "SdkOption.proto";
message RegisterRequest {
AppInfo appInfo = 1;
DeviceInfo deviceInfo = 2;
EnvInfo envInfo = 3;
PresenceStatus presenceStatus = 4;
ActiveStatus appActiveStatus = 5;
bytes appCustomStatus = 6;
PushServiceToken pushServiceToken = 7;
int64 instanceId = 8;
repeated PushServiceToken pushServiceTokenList = 9;
int32 keepaliveIntervalSec = 10;
ZtCommonInfo ztCommonInfo = 11;
enum PresenceStatus {
kPresenceOffline = 0;
kPresenceOnline = 1;
}
enum ActiveStatus {
kInvalid = 0;
kAppInForeground = 1;
kAppinBackground = 2;
}
}
message RegisterResponse {
AccessPointsConfig accessPointsConfig = 1;
bytes sessKey = 2;
int64 instanceId = 3;
SdkOption sdkOption = 4;
AccessPointsConfig accessPointsCOnfigIpv6 = 5;
}