29 lines
1.2 KiB
Dart
29 lines
1.2 KiB
Dart
import '../../flavors.dart';
|
||
|
||
class XSConstantMacro {
|
||
// 网页的宏定义网址
|
||
static String baseWebURL = F.apiPrefix; //base地址
|
||
static String introduceURL = '$baseWebURL/app/introduce'; //介绍页
|
||
static String userAgreementURL = '$baseWebURL/app/userAgreement'; //用户协议
|
||
static String privacyPolicyURL = '$baseWebURL/app/privacy'; //隐私政策
|
||
static String collectionListURL =
|
||
'$baseWebURL/app/personalInformationCollectionList'; //个人信息收集清单
|
||
static String thirdPartyInfShareListURL =
|
||
'$baseWebURL/app/thirdPartyInformationSharingList'; //第三方信息共享清单
|
||
static String appPermissionDescURL =
|
||
'$baseWebURL/app/applicationPermissionDescription'; //应用权限说明
|
||
|
||
// 钥匙类型 keyType 1-永久 2-限期 3-单次 4-循环
|
||
static int keyTypeLong = 1;
|
||
static int keyTypeTime = 2;
|
||
static int keyTypeOnce = 3;
|
||
static int keyTypeLoop = 4;
|
||
|
||
// 门锁事件类型 lockEventType 事件类型:0-全部事件;10-开门事件20-异常事件30-门铃事件40-视频事件
|
||
static int lockEventTypeAll = 0;
|
||
static int lockEventTypeOpenDoor = 10;
|
||
static int lockEventTypeAbnormal = 20;
|
||
static int lockEventTypeDoorbell = 30;
|
||
static int lockEventTypeVideo = 40;
|
||
}
|