AIVisualProvision/Source/VisualProvision/AppSettings.cs

37 строки
1.6 KiB
C#
Исходник Постоянная ссылка Обычный вид История

2018-12-04 00:07:16 +03:00
namespace VisualProvision
{
public static class AppSettings
{
// Photos storage
public const string PhotoFolder = "VisualProvision";
2019-09-23 22:59:45 +03:00
// <snippet_serviceprincipal>
2018-12-04 00:07:16 +03:00
/*
* Service principal
*
* Note: This settings will only be used in Debug mode to avoid developer having to enter
* ClientId and TenantId keys each time application is deployed.
* In Release mode, all credentials will be introduced using UI input fields.
*/
public const string ClientId = "INSERT YOUR CLIENTID HERE";
public const string TenantId = "INSERT YOUR TENANTID HERE";
2019-09-23 22:59:45 +03:00
// </snippet_serviceprincipal>
2018-12-04 00:07:16 +03:00
2019-01-09 18:41:50 +03:00
// App Center (Feel free to change the following IDs with your App Center IDs).
public const string AppCenterAndroid = "c8fbe0d5-f676-40b9-927d-19f70365f7de";
public const string AppCenterIos = "a43c421b-70ac-4742-905a-24dc760696de";
2018-12-04 00:07:16 +03:00
2019-09-23 22:59:45 +03:00
// <snippet_cusvis_keys>
2018-12-04 00:07:16 +03:00
// Custom Vision
public const string CustomVisionPredictionUrl = "INSERT YOUR COMPUTER VISION API URL HERE FOR MAGNETS RECOGNITION";
public const string CustomVisionPredictionKey = "INSERT YOUR COMPUTER VISION PREDICTION KEY HERE FOR MAGNETS RECOGNITION";
2019-09-23 22:59:45 +03:00
// </snippet_cusvis_keys>
2018-12-04 00:07:16 +03:00
2019-09-23 22:59:45 +03:00
// <snippet_comvis_keys>
2018-12-04 00:07:16 +03:00
// Computer Vision
public const string ComputerVisionEndpoint = "INSERT COMPUTER VISION ENDPOINT HERE FOR HANDWRITING";
public const string ComputerVisionKey = "INSERT YOUR COMPUTER VISION KEY HERE FOR HANDWRITING";
2019-09-23 22:59:45 +03:00
// </snippet_comvis_keys>
2018-12-04 00:07:16 +03:00
}
2019-01-09 18:41:50 +03:00
}