telemetryEndpoint static method
Get the telemetry endpoint for the given environment.
Implementation
static APIEndpoint telemetryEndpoint(SDKEnvironment environment) {
switch (environment) {
case SDKEnvironment.development:
return APIEndpoint.devTelemetry;
case SDKEnvironment.staging:
case SDKEnvironment.production:
return APIEndpoint.telemetry;
}
}