forked from AgoraIO-Extensions/Agora-Flutter-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
agora.config.dart
31 lines (26 loc) · 976 Bytes
/
agora.config.dart
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
/// Get your own App ID at https://dashboard.agora.io/
String get appId {
// Allow pass an `appId` as an environment variable with name `TEST_APP_ID` by using --dart-define
return const String.fromEnvironment('TEST_APP_ID',
defaultValue: '<YOUR_APP_ID>');
}
/// Please refer to https://docs.agora.io/en/Agora%20Platform/token
String get token {
// Allow pass a `token` as an environment variable with name `TEST_TOKEN` by using --dart-define
return const String.fromEnvironment('TEST_TOKEN',
defaultValue: '<YOUR_TOKEN>');
}
/// Your channel ID
String get channelId {
// Allow pass a `channelId` as an environment variable with name `TEST_CHANNEL_ID` by using --dart-define
return const String.fromEnvironment(
'TEST_CHANNEL_ID',
defaultValue: '<YOUR_CHANNEL_ID>',
);
}
/// Your int user ID
const int uid = 0;
/// Your user ID for the screen sharing
const int screenSharingUid = 10;
/// Your string user ID
const String stringUid = '0';