12345678910111213141516171819202122232425262728293031323334353637 |
- /// 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: '<TEST_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: '<TEST_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: '<TEST_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';
- String get musicCenterAppId {
- // Allow pass a `token` as an environment variable with name `TEST_TOKEN` by using --dart-define
- return const String.fromEnvironment('MUSIC_CENTER_APPID',
- defaultValue: '<MUSIC_CENTER_APPID>');
- }
|